* 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

@@ -306,6 +306,21 @@ the filename of the generated package.
sub build {}
=item incrementrelease
This method should increment the release field of the package by
the specified number.
=cut
sub incrementrelease {
my $this=shift;
my $number=shift;
$^W=0; # Shut of possible "is not numeric" warning.
$this->release($this->release + $number);
$^W=1; # Re-enable warnings.
}
=item DESTROY
When an object is destroyed, it cleans some stuff up. In particular, if the