libyaz4-devel is required only for the build.
[ZOOM-Perl-moved-to-github.git] / zoom-perl.spec
index 4db8042..cf616fc 100644 (file)
@@ -8,10 +8,11 @@ Vendor: Index Data ApS <info@indexdata.com>
 Source: libnet-z3950-zoom-perl-%{version}.tar.gz
 BuildRoot: %{_tmppath}/libnet-z3950-zoom-perl-%{version}-root
 BuildRequires: perl
+BuildRequires: libyaz4-devel
 Packager: Mike Taylor <mike@indexdata.com>
 URL: http://www.indexdata.com/masterkey/
 
-Requires: libyaz4-devel
+Requires: libyaz4
 Requires: perl-MARC-Record
 Requires: perl-XML-LibXML
 Requires: perl-XML-LibXML-XPathContext
@@ -61,7 +62,7 @@ rm -fr ${RPM_BUILD_ROOT}
 %{_bindir}/zoomdump
 %doc %{_datadir}/man/man3/Net::Z3950::ZOOM.3pm.gz
 %doc %{_datadir}/man/man3/ZOOM.3pm.gz
-%{perl_vendorlib}
+%{perl_vendorarch}
 
 %changelog
 * Mon Jul 12 2010 Mike Taylor <mike@indexdata.com>