diff --git a/Alien/Package/Lsb.pm b/Alien/Package/Lsb.pm index dbca7ba..88d5d97 100644 --- a/Alien/Package/Lsb.pm +++ b/Alien/Package/Lsb.pm @@ -96,8 +96,8 @@ sub revert { =item build -Uses the parent's build method. If a lsb-rpm is available, uses it to build -the package. +Uses the parent's build method. If a lsb-rpmbuild is available, uses it to +build the package. =cut @@ -105,8 +105,8 @@ sub build { my $this=shift; my $buildcmd=shift || 'rpmbuild'; foreach (split(/:/,$ENV{PATH})) { - if (-x "$_/lsb-rpm") { - $buildcmd='lsb-rpm'; + if (-x "$_/lsb-rpmbuild") { + $buildcmd='lsb-rpmbuild'; last; } } diff --git a/debian/changelog b/debian/changelog index 5d56762..90818eb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +alien (8.87) UNRELEASED; urgency=low + + * Use lsb-rpmbuild, not lsb-rpm. Closes: #667044 + + -- Joey Hess Wed, 04 Apr 2012 13:34:26 -0400 + alien (8.86) unstable; urgency=low * Filter out illegal characters in version number when building a deb.