Typo
[ZOOM-Perl-moved-to-github.git] / modules / orig / perl-MARC-Record.spec
index d391e0d..c2cabcd 100644 (file)
@@ -23,7 +23,7 @@ The file-handling stuff is in MARC::File::*.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX=$RPM_BUILD_ROOT/usr
 %{__make}
 
 %check
@@ -37,6 +37,8 @@ rm -rf $RPM_BUILD_ROOT
 %makeinstall
 #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)