mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user