aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.spec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-05 19:04:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-05 19:04:10 +0000
commit9be8d3b3407562628b07f0b2c27b673ef208f225 (patch)
tree90b9744ee4fc8b953fc120ff38671d44c35aa35f /rpmtools.spec
parenteac9649e7ca04a812481abb66c922c2345ef9207 (diff)
downloadrpmtools-9be8d3b3407562628b07f0b2c27b673ef208f225.tar
rpmtools-9be8d3b3407562628b07f0b2c27b673ef208f225.tar.gz
rpmtools-9be8d3b3407562628b07f0b2c27b673ef208f225.tar.bz2
rpmtools-9be8d3b3407562628b07f0b2c27b673ef208f225.tar.xz
rpmtools-9be8d3b3407562628b07f0b2c27b673ef208f225.zip
- remove obsolete stuff4.5.2
- move packdrake.pm in its own directory to make MakeMaker happy
Diffstat (limited to 'rpmtools.spec')
-rw-r--r--rpmtools.spec21
1 files changed, 12 insertions, 9 deletions
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 <pixel@mandrakesoft.com> 4.5-2mdk
+- have packdrake.pm in non-arch dependent directory
+
* Mon Aug 5 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 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