* alien.spec: pass PREFIX to Makefile.PL so it works on systems

(such as red hat 8) where the generated Makefile does not use
     $PREFIX in all paths.
This commit is contained in:
joey
2003-04-30 03:12:00 +00:00
parent 14cd95336f
commit cbe19ea395
4 changed files with 13 additions and 9 deletions

2
TODO
View File

@@ -2,3 +2,5 @@
* alien needs to handle relocatable conffiles, partially relocatable
packages, and packages that have maultiple parts that relocate
differently.
* rpm ghost file support. On conversion, make preinst move file out of the
way, postinst put it back. Thus emulating the behavior of rpm.

View File

@@ -23,15 +23,9 @@ This is a tool only suitable for binary packages.
rm -rf /tmp/alien-@version@.build
%install
perl Makefile.PL
perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr
make
make pure_install INSTALLDIRS=perl \
PREFIX=$RPM_BUILD_ROOT/`perl -e 'use Config;print $Config{prefix}'` \
INSTALLMAN1DIR=$RPM_BUILD_ROOT/usr/man/man1 \
INSTALLMAN3DIR=$RPM_BUILD_ROOT/usr/man/man3 \
INSTALLARCHLIB=$RPM_BUILD_ROOT/killme \
VARPREFIX=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/killme
make pure_install VARPREFIX=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -not -type d -printf "/%%P\n" | \
sed '/\/man\//s/$/\*/' > manifest

8
debian/changelog vendored
View File

@@ -1,3 +1,11 @@
alien (8.26) unstable; urgency=low
* alien.spec: pass PREFIX to Makefile.PL so it works on systems
(such as red hat 8) where the generated Makefile does not use
$PREFIX in all paths.
-- Joey Hess <joeyh@debian.org> Tue, 29 Apr 2003 23:12:32 -0400
alien (8.25) unstable; urgency=low
* Support rpms that contain no files. Closes: #184714

2
debian/control vendored
View File

@@ -3,7 +3,7 @@ Section: admin
Priority: optional
Build-Depends-Indep: debhelper (>= 4), dpkg-dev (>= 1.9.0)
Maintainer: Joey Hess <joeyh@debian.org>
Standards-Version: 3.5.8.0
Standards-Version: 3.5.9.0
Package: alien
Architecture: all