Last change
on this file since 1461 was 1432, checked in by Bruno Cornec, 12 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:
889 bytes
|
Rev | Line | |
---|
[384] | 1 | #
|
---|
| 2 | # $Id$
|
---|
| 3 | #
|
---|
| 4 | # Filter for rpm build
|
---|
| 5 | #
|
---|
[431] | 6 | # PBREPO is replaced by the root URL to access the repository
|
---|
[506] | 7 | filter PBREPO = $pb->{'repo'}
|
---|
[429] | 8 |
|
---|
[384] | 9 | # PBSRC is replaced by the source package format
|
---|
[429] | 10 | filter PBSRC = src/%{name}-%{version}.tar.gz
|
---|
[384] | 11 |
|
---|
[506] | 12 | # PBVER is replaced by the version ($pb->{'ver'} in code)
|
---|
[1432] | 13 | filter PBVER = $pb->{'ver'}$pb->{'extdir'}
|
---|
[384] | 14 |
|
---|
[506] | 15 | # PBDATE is replaced by the date ($pb->{'date'} in code)
|
---|
| 16 | filter PBDATE = $pb->{'date'}
|
---|
[384] | 17 |
|
---|
| 18 | # PBLOG is replaced by the changelog if value is yes
|
---|
| 19 | filter PBLOG = yes
|
---|
| 20 |
|
---|
[506] | 21 | # PBTAG is replaced by the tag ($pb->{'tag'} in code)
|
---|
| 22 | filter PBTAG = $pb->{'tag'}
|
---|
[384] | 23 |
|
---|
[506] | 24 | # PBREV is replaced by the revision ($pb->{'rev'} in code)
|
---|
| 25 | filter PBREV = $pb->{'rev'}
|
---|
[384] | 26 |
|
---|
[506] | 27 | # PBPKG is replaced by the package name ($pb->{'pkg'} in code)
|
---|
| 28 | filter PBPKG = $pb->{'pkg'}
|
---|
[418] | 29 |
|
---|
[506] | 30 | # PBPROJ is replaced by the project name ($pb->{'proj'} in code)
|
---|
| 31 | filter PBPROJ = $pb->{'proj'}
|
---|
[488] | 32 |
|
---|
| 33 | filter PBURL = http://www.mondorescue.org
|
---|
Note:
See
TracBrowser
for help on using the repository browser.