From 9be8d3b3407562628b07f0b2c27b673ef208f225 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 5 Aug 2002 19:04:10 +0000 Subject: - remove obsolete stuff - move packdrake.pm in its own directory to make MakeMaker happy --- rpmtools.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'rpmtools.spec') diff --git a/rpmtools.spec b/rpmtools.spec index 520290b..afd9593 100644 --- a/rpmtools.spec +++ b/rpmtools.spec @@ -1,5 +1,5 @@ %define name rpmtools -%define release 1mdk +%define release 2mdk # do not modify here, see Makefile in the CVS %define version 4.5 @@ -28,14 +28,17 @@ Various tools needed by urpmi and drakxtools for handling rpm files. %setup %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{make} -f Makefile_core OPTIMIZE="$RPM_OPT_FLAGS" +( + cd packdrake-pm ; + %{__perl} Makefile.PL INSTALLDIRS=vendor + %{make} OPTIMIZE="$RPM_OPT_FLAGS" +) %{make} CFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT %{make} install PREFIX=$RPM_BUILD_ROOT -%{make} -f Makefile_core install PREFIX=$RPM_BUILD_ROOT%{_prefix} +%{make} -C packdrake-pm install PREFIX=$RPM_BUILD_ROOT%{_prefix} %clean rm -rf $RPM_BUILD_ROOT @@ -48,13 +51,13 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/gendistrib %{_bindir}/distriblint %{_bindir}/genhdlist -#%{perl_vendorarch}/auto/rpmtools -%{perl_vendorarch}/packdrake.pm -#%{perl_vendorarch}/rpmtools.pm -#%{_mandir}/*/* -%{_mandir}/*/packdrake* +%{perl_vendorlib}/packdrake.pm +%{_mandir}/*/* %changelog +* Mon Aug 5 2002 Pixel 4.5-2mdk +- have packdrake.pm in non-arch dependent directory + * Mon Aug 5 2002 Guillaume Cottenceau 4.5-1mdk - add --fileswinfo query to parsehdlist so that we can know more informations on the package for which we print the files (needed by -- cgit v1.2.1