|
Last change
on this file since 1436 was 1432, checked in by Bruno Cornec, 14 years ago |
r4556@localhost: bruno | 2012-03-08 22:31:12 +0100
- Adds a new extdir member to the pb structure, in order to manage the timestamp tag added in version name for
test versions and have a complete correspondance between the tar file content, and the names. Should fix #99.
This modification creates an incompatibility in the build part of pb, so requires that the build environment be updated before it's usable (with setupve|vm or sbx2setupve|vm)
- This patch has been tested with .rpm and .deb test packages successfully. ebuild and solaris are to be tested.
- Use the new extdir member to update existing projects filter
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | #
|
|---|
| 2 | # $Id$
|
|---|
| 3 | #
|
|---|
| 4 | # Filter for all files
|
|---|
| 5 | #
|
|---|
| 6 | # PBPROJ is replaced by the project
|
|---|
| 7 | filter PBPROJ = $pb->{'proj'}
|
|---|
| 8 |
|
|---|
| 9 | # PBREPO is replaced by the root URL of the repository
|
|---|
| 10 | filter PBREPO = $pb->{'repo'}
|
|---|
| 11 |
|
|---|
| 12 | # PBSRC is replaced by the source package format
|
|---|
| 13 | filter PBSRC = src/%{srcname}-%{version}.tar.gz
|
|---|
| 14 |
|
|---|
| 15 | # PBVER is replaced by the version ($pb->{'ver'} in code)
|
|---|
| 16 | filter PBVER = $pb->{'ver'}$pb->{'extdir'}
|
|---|
| 17 |
|
|---|
| 18 | # PBDATE is replaced by the date ($pb->{'date'} in code)
|
|---|
| 19 | filter PBDATE = $pb->{'date'}
|
|---|
| 20 |
|
|---|
| 21 | # PBTAG is replaced by the tag ($pb->{'tag'} in code)
|
|---|
| 22 | filter PBTAG = $pb->{'tag'}
|
|---|
| 23 |
|
|---|
| 24 | # PBREV is replaced by the revision ($pb->{'rev'} in code)
|
|---|
| 25 | filter PBREV = $pb->{'rev'}
|
|---|
| 26 |
|
|---|
| 27 | # PBPKG is replaced by the package name ($pb->{'pkg'} in code)
|
|---|
| 28 | filter PBPKG = $pb->{'pkg'}
|
|---|
| 29 |
|
|---|
| 30 | # PBPKG is replaced by the package name ($pb->{'realpkg'} in code)
|
|---|
| 31 | filter PBREALPKG = $pb->{'realpkg'}
|
|---|
| 32 |
|
|---|
| 33 | # PBPACKAGER is replaced by the packager name ($pb->{'packager'} in code)
|
|---|
| 34 | filter PBPACKAGER = $pb->{'packager'}
|
|---|
| 35 |
|
|---|
| 36 | # PBLOG is replaced by the changelog if value is yes and should be last
|
|---|
| 37 | # as when used we need the %pb hash filled
|
|---|
| 38 | filter PBLOG = yes
|
|---|
| 39 |
|
|---|
| 40 | filter PBURL = http://trac.project-builder.org
|
|---|
| 41 | filter PBLIC = GPLv2
|
|---|
| 42 | filter PBMKTEST = %check$/make test
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.