X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec.in;h=114f58703696c917dc4fe8863331f65e697a0191;hp=8b4b63f69ebb74de043019de5893bef1d47fe45e;hb=35a1937624d302f2a53618958036a41a88b70388;hpb=ad75101cb137ab43f2b7e6a0dab7b1efe30b02a7 diff --git a/yaz.spec.in b/yaz.spec.in index 8b4b63f..114f587 100644 --- a/yaz.spec.in +++ b/yaz.spec.in @@ -10,7 +10,8 @@ Source: yaz-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root %define TCPWRAPPER tcpd-devel %if "%{_vendor}" == "redhat" -%define TCPWRAPPER tcp_wrappers-devel +# Fedora requires tcp_wrappers-devel . +%define TCPWRAPPER tcp_wrappers %endif BuildRequires: pkgconfig libxml2-devel libxslt-devel gnutls-devel readline-devel libicu-devel %{TCPWRAPPER} Packager: Adam Dickmeiss @@ -29,10 +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 + %package -n libyaz3-devel Summary: Z39.50 Library - development package Group: Development/Libraries -Requires: libyaz3 = %{version} libxml2-devel libxslt-devel +Requires: libyaz3 = %{version} libxml2-devel libxslt-devel libicu-devel gnutls-devel %{TCPWRAPPER} Conflicts: libyaz-devel %description -n libyaz3-devel