projects
/
ZOOM-Perl-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libyaz4-devel is required only for the build.
[ZOOM-Perl-moved-to-github.git]
/
zoom-perl.spec
diff --git
a/zoom-perl.spec
b/zoom-perl.spec
index
4ffc833
..
cf616fc
100644
(file)
--- a/
zoom-perl.spec
+++ b/
zoom-perl.spec
@@
-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
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/
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
Requires: perl-MARC-Record
Requires: perl-XML-LibXML
Requires: perl-XML-LibXML-XPathContext
@@
-36,9
+37,10
@@
code is running is reassuring.)
%build
%{__perl} Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
%build
%{__perl} Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
-make
+%{__make}
%install
%install
+%{__rm} -rf %{buildroot}
%{__make} pure_install DESTDIR=%{buildroot}
# Perl's make install seems to create both uncompressed AND compressed
%{__make} pure_install DESTDIR=%{buildroot}
# Perl's make install seems to create both uncompressed AND compressed
@@
-58,9
+60,9
@@
rm -fr ${RPM_BUILD_ROOT}
%doc %{_datadir}/doc/perl-zoom
%{_bindir}/zselect
%{_bindir}/zoomdump
%doc %{_datadir}/doc/perl-zoom
%{_bindir}/zselect
%{_bindir}/zoomdump
-%{perl_vendorlib}
%doc %{_datadir}/man/man3/Net::Z3950::ZOOM.3pm.gz
%doc %{_datadir}/man/man3/ZOOM.3pm.gz
%doc %{_datadir}/man/man3/Net::Z3950::ZOOM.3pm.gz
%doc %{_datadir}/man/man3/ZOOM.3pm.gz
+%{perl_vendorarch}
%changelog
* Mon Jul 12 2010 Mike Taylor <mike@indexdata.com>
%changelog
* Mon Jul 12 2010 Mike Taylor <mike@indexdata.com>