diff --git a/TODO b/TODO index 9418418..bbfa632 100644 --- a/TODO +++ b/TODO @@ -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. diff --git a/alien.spec.in b/alien.spec.in index 86fd4b3..72fc7ec 100644 --- a/alien.spec.in +++ b/alien.spec.in @@ -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 diff --git a/debian/changelog b/debian/changelog index 9eb9f90..b60a802 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 29 Apr 2003 23:12:32 -0400 + alien (8.25) unstable; urgency=low * Support rpms that contain no files. Closes: #184714 diff --git a/debian/control b/debian/control index 734d9df..aa23a27 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: admin Priority: optional Build-Depends-Indep: debhelper (>= 4), dpkg-dev (>= 1.9.0) Maintainer: Joey Hess -Standards-Version: 3.5.8.0 +Standards-Version: 3.5.9.0 Package: alien Architecture: all