mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
don't try to modify a constant value
This commit is contained in:
@@ -83,14 +83,15 @@ sub scan {
|
|||||||
SUMMARY DESCRIPTION COPYRIGHT PREFIXES},
|
SUMMARY DESCRIPTION COPYRIGHT PREFIXES},
|
||||||
keys(%fieldtrans)) {
|
keys(%fieldtrans)) {
|
||||||
my $value=$this->runpipe(0, "LANG=C rpm -qp --queryformat \%{$field} $file");
|
my $value=$this->runpipe(0, "LANG=C rpm -qp --queryformat \%{$field} $file");
|
||||||
|
my $key;
|
||||||
if (exists $fieldtrans{$field}) {
|
if (exists $fieldtrans{$field}) {
|
||||||
$field=$fieldtrans{$field};
|
$key=$fieldtrans{$field};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$field=lc($field);
|
$key=lc($field);
|
||||||
}
|
}
|
||||||
$value='' if $value eq '(none)';
|
$value='' if $value eq '(none)';
|
||||||
$this->$field($value);
|
$this->$key($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
# Get the conffiles list.
|
# Get the conffiles list.
|
||||||
|
|||||||
4
debian/changelog
vendored
4
debian/changelog
vendored
@@ -1,9 +1,9 @@
|
|||||||
alien (8.70) UNRELEASED; urgency=low
|
alien (8.70) unstable; urgency=low
|
||||||
|
|
||||||
* Extract prefixes field before extracting scripts so that
|
* Extract prefixes field before extracting scripts so that
|
||||||
RPM_INSTALL_PREFIX gets set.
|
RPM_INSTALL_PREFIX gets set.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Wed, 12 Mar 2008 11:04:06 -0400
|
-- Joey Hess <joeyh@debian.org> Wed, 12 Mar 2008 11:05:40 -0400
|
||||||
|
|
||||||
alien (8.69) unstable; urgency=low
|
alien (8.69) unstable; urgency=low
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user