X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec.in;h=645e05c3676c9fd6944959e1a669df20c6b95e36;hp=40a7783d78dd1d0a80d6a02aa29ca718fc3e5707;hb=b6aa93dcb5c07ed09b664c006b5f33b0135a0854;hpb=3d5041247b024fd0926b40048433102d1db29019 diff --git a/yaz.spec.in b/yaz.spec.in index 40a7783..645e05c 100644 --- a/yaz.spec.in +++ b/yaz.spec.in @@ -15,7 +15,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %endif BuildRequires: pkgconfig libxml2-devel libxslt-devel gnutls-devel readline-devel libicu-devel %{TCPWRAPPER} Packager: Adam Dickmeiss -URL: http://www.indexdata.dk/yaz/ +URL: http://www.indexdata.com/yaz %description This package contains both a test-server and clients (normal & ssl) @@ -30,13 +30,13 @@ Requires: libxslt gnutls libicu YAZ is a library for the ANSI/NISO Z39.50 protocol for Information Retrieval. -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post -n libyaz4 -p /sbin/ldconfig +%postun -n libyaz4 -p /sbin/ldconfig %package -n libyaz4-devel Summary: Z39.50 Library - development package Group: Development/Libraries -Requires: libyaz4 = %{version} libxml2-devel libxslt-devel libicu-devel gnutls-devel %{TCPWRAPPER} +Requires: libyaz4 = %{version} libxml2-devel libxslt-devel libicu-devel Conflicts: libyaz-devel %description -n libyaz4-devel @@ -73,6 +73,7 @@ make CFLAGS="$RPM_OPT_FLAGS" rm -fr ${RPM_BUILD_ROOT} make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \ libdir=${RPM_BUILD_ROOT}/%{_libdir} install +rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la %clean rm -fr ${RPM_BUILD_ROOT}