X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=yaz.spec.in;h=67c9892a5303a7d968d8a629d2bcc94aee0e66db;hb=709498d46ca78ef5338d3c4dce36b7e5c5037905;hp=40a7783d78dd1d0a80d6a02aa29ca718fc3e5707;hpb=3d5041247b024fd0926b40048433102d1db29019;p=yaz-moved-to-github.git diff --git a/yaz.spec.in b/yaz.spec.in index 40a7783..67c9892 100644 --- a/yaz.spec.in +++ b/yaz.spec.in @@ -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}