* 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

@@ -103,7 +103,7 @@ the package.
sub build {
my $this=shift;
my $buildcmd=shift || 'rpm';
my $buildcmd=shift || 'rpmbuild';
foreach (split(/:/,$ENV{PATH})) {
if (-x "$_/lsb-rpm") {
$buildcmd='lsb-rpm';
@@ -113,6 +113,14 @@ sub build {
$this->SUPER::build($buildcmd);
}
=item incrementrelease
LSB package versions are not changed.
=cut
sub incrementrelease {}
=back
=head1 AUTHOR