make pure_install in the RPM packaging.
[ZOOM-Perl-moved-to-github.git] / zoom-perl.spec
index 6808b43..332345c 100644 (file)
@@ -1,6 +1,6 @@
 Summary: Perl implementation of the ZOOM abstract API
 Name: libnet-z3950-zoom-perl
-Version: 1.26
+Version: 1.27
 Release: 1.indexdata
 License: Perl
 Group: Applications/Internet
@@ -12,8 +12,9 @@ Packager: Mike Taylor <mike@indexdata.com>
 URL: http://www.indexdata.com/masterkey/
 
 Requires: libyaz4-devel
-Requires: perl-marc-record
+Requires: perl-MARC-Record
 Requires: perl-XML-LibXML
+Requires: perl-XML-LibXML-XPathContext
 
 %description
 This module provides a nice, Perlish implementation of the ZOOM
@@ -38,8 +39,7 @@ perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr
 make
 
 %install
-make install
-rm $RPM_BUILD_ROOT/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
+make pure_install
 # Perl's make install seems to create both uncompressed AND compressed
 # versions of the manual pages, which confuses /usr/lib/rpm/brp-compress
 find $RPM_BUILD_ROOT/usr/share/man -name '*.gz' -exec rm -f '{}' \;
@@ -67,3 +67,6 @@ rm -fr ${RPM_BUILD_ROOT}
 %changelog
 * Mon Jul 12 2010 Mike Taylor <mike@indexdata.com>
 - First Red Hat packaged version.
+
+All versions follow the upstream changelog "Changes".
+