Genericise for CentOS 6 as well as 5
authorMike Taylor <mike@indexdata.com>
Thu, 14 Mar 2013 16:29:39 +0000 (16:29 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 14 Mar 2013 16:29:39 +0000 (16:29 +0000)
modules/orig/perl-MARC-Record.spec

index c2cabcd..ffab5cc 100644 (file)
@@ -34,11 +34,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%makeinstall
+make pure_install
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 #chmod 644  $RPM_BUILD_ROOT/%{perl_vendorlib}/MARC/Record.pm
 #chmod 644  $RPM_BUILD_ROOT/%{perl_vendorlib}/MARC/Field.pm
-rm $RPM_BUILD_ROOT/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
-rm $RPM_BUILD_ROOT/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/MARC/Record/.packlist
 
 %files
 %defattr(-,root,root)