* When converting LSB packages, do not increment the release number.

* Use rpmbuild to build lsb packages, not rpm.
This commit is contained in:
joey
2006-12-15 18:46:37 +00:00
parent c1a3316e71
commit 4697a558d0
4 changed files with 31 additions and 5 deletions

View File

@@ -50,6 +50,9 @@ No guarantees are made that the generated lsb packages will be fully LSB
compliant, and it's rather unlikely they will unless you build them in the
lsbdev environment.
Note that unlike other package formats, converting an LSB package to
another format will not cause its minor version number to be changed.
=item deb
For converting to (but not from) deb format, the gcc, make, debhelper,
@@ -458,9 +461,7 @@ foreach my $file (@ARGV) {
# Increment release.
unless (defined $keepversion) {
$^W=0; # Shut of possible "is not numeric" warning.
$package->release($package->release + $versionbump);
$^W=1; # Re-enable warnings.
$package->incrementrelease($versionbump);
}
foreach my $format (keys %destformats) {