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 <adam@indexdata.dk>
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