mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
Correct handling of arch all packages in deb arch check. Closes: #596209
This commit is contained in:
@@ -491,10 +491,12 @@ sub build {
|
|||||||
# Detect architecture mismatch and abort with a comprehensible
|
# Detect architecture mismatch and abort with a comprehensible
|
||||||
# error message.
|
# error message.
|
||||||
my $arch=$this->arch;
|
my $arch=$this->arch;
|
||||||
|
if ($arch ne 'all') {
|
||||||
my $ret=system("dpkg-architecture", "-i".$arch);
|
my $ret=system("dpkg-architecture", "-i".$arch);
|
||||||
if ($ret != 0) {
|
if ($ret != 0) {
|
||||||
die $this->filename." is for architecture ".$this->arch." ; the package cannot be built on this system"."\n";
|
die $this->filename." is for architecture ".$this->arch." ; the package cannot be built on this system"."\n";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
chdir $this->unpacked_tree;
|
chdir $this->unpacked_tree;
|
||||||
my $log=$this->runpipe(1, "debian/rules binary 2>&1");
|
my $log=$this->runpipe(1, "debian/rules binary 2>&1");
|
||||||
|
|||||||
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
|||||||
|
alien (8.83) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Correct handling of arch all packages in deb arch check. Closes: #596209
|
||||||
|
|
||||||
|
-- Joey Hess <joeyh@debian.org> Thu, 09 Sep 2010 08:24:27 -0400
|
||||||
|
|
||||||
alien (8.82) unstable; urgency=low
|
alien (8.82) unstable; urgency=low
|
||||||
|
|
||||||
* Use debhelper compat level v7 when building packages. All changes
|
* Use debhelper compat level v7 when building packages. All changes
|
||||||
|
|||||||
Reference in New Issue
Block a user