mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-25 14:00:17 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c8631f8fd | ||
|
|
17bcd710f7 | ||
|
|
ac38739a74 | ||
|
|
dbf7fdfa5b | ||
|
|
15b2f7ff92 |
@@ -78,18 +78,20 @@ sub scan {
|
|||||||
POSTUN => 'postrm',
|
POSTUN => 'postrm',
|
||||||
);
|
);
|
||||||
|
|
||||||
# These fields need no translation except case.
|
|
||||||
foreach (qw{name version release arch changelogtext summary
|
|
||||||
description copyright prefixes}) {
|
|
||||||
$fieldtrans{uc $_}=$_;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Use --queryformat to pull out all the fields we need.
|
# Use --queryformat to pull out all the fields we need.
|
||||||
foreach my $field (keys(%fieldtrans)) {
|
foreach my $field (qw{NAME VERSION RELEASE ARCH CHANGELOGTEXT
|
||||||
$_=$this->runpipe(0, "LANG=C rpm -qp --queryformat \%{$field} $file");
|
SUMMARY DESCRIPTION COPYRIGHT PREFIXES},
|
||||||
$field=$fieldtrans{$field};
|
keys(%fieldtrans)) {
|
||||||
$_='' if $_ eq '(none)';
|
my $value=$this->runpipe(0, "LANG=C rpm -qp --queryformat \%{$field} $file");
|
||||||
$this->$field($_);
|
my $key;
|
||||||
|
if (exists $fieldtrans{$field}) {
|
||||||
|
$key=$fieldtrans{$field};
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$key=lc($field);
|
||||||
|
}
|
||||||
|
$value='' if $value eq '(none)';
|
||||||
|
$this->$key($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
# Get the conffiles list.
|
# Get the conffiles list.
|
||||||
|
|||||||
2
alien.pl
2
alien.pl
@@ -137,7 +137,7 @@ built.
|
|||||||
|
|
||||||
Be less strict about which patch file is used, perhaps attempting to use a patch
|
Be less strict about which patch file is used, perhaps attempting to use a patch
|
||||||
file for an older verson of the package. This is not guaranteed to always work;
|
file for an older verson of the package. This is not guaranteed to always work;
|
||||||
older patches may necessarily not work with newer packages.
|
older patches may not necessarily work with newer packages.
|
||||||
|
|
||||||
=item B<--nopatch>
|
=item B<--nopatch>
|
||||||
|
|
||||||
|
|||||||
7
debian/changelog
vendored
7
debian/changelog
vendored
@@ -1,3 +1,10 @@
|
|||||||
|
alien (8.70) unstable; urgency=low
|
||||||
|
|
||||||
|
* Extract prefixes field before extracting scripts so that
|
||||||
|
RPM_INSTALL_PREFIX gets set.
|
||||||
|
|
||||||
|
-- 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
|
||||||
|
|
||||||
* Alien's repository has moved from subversion to git.
|
* Alien's repository has moved from subversion to git.
|
||||||
|
|||||||
5
debian/control
vendored
5
debian/control
vendored
@@ -1,10 +1,11 @@
|
|||||||
Source: alien
|
Source: alien
|
||||||
Section: admin
|
Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Build-Depends: debhelper (>= 4), dpkg-dev (>= 1.9.0)
|
Build-Depends: debhelper (>= 4)
|
||||||
Maintainer: Joey Hess <joeyh@debian.org>
|
Maintainer: Joey Hess <joeyh@debian.org>
|
||||||
Standards-Version: 3.7.2
|
Standards-Version: 3.7.3
|
||||||
Vcs-Git: git://git.kitenet.net/alien
|
Vcs-Git: git://git.kitenet.net/alien
|
||||||
|
Homepage: http://kitenet.net/~joey/code/alien/
|
||||||
|
|
||||||
Package: alien
|
Package: alien
|
||||||
Architecture: all
|
Architecture: all
|
||||||
|
|||||||
Reference in New Issue
Block a user