From f717997da17de8bebae0dba3eedc315db0d6a8b4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Apr 04 2012 17:36:18 +0000 Subject: Use lsb-rpmbuild, not lsb-rpm. Closes: #667044 Note that lsb-rpm has been dropped from rpm in Debian unstable. So this changes nothing really; it already fell back to rpmbuild. And I can find no mention of either lsb-rpm or lsb-rpmbuild in the LSB spec, although I didn't look very hard. --- 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.