Remove tcpwrappers support

This commit is contained in:
Alexander Bokovoy 2018-03-15 11:29:17 +02:00
parent 056c4e7667
commit ad9fe36aec

View File

@ -11,7 +11,7 @@
Name: slapi-nis
Version: 0.56.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: NIS Server and Schema Compatibility plugins for Directory Server
Group: System Environment/Daemons
License: GPLv2
@ -27,11 +27,6 @@ BuildRequires: libsss_nss_idmap-devel > 1.16.0-5
%define sss_nss_opts %{nil}
%endif
BuildRequires: pam-devel
%if 0%{?fedora} > 6 || 0%{?rhel} > 5
BuildRequires: tcp_wrappers-devel
%else
BuildRequires: tcp_wrappers
%endif
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
BuildRequires: libtirpc-devel
%endif
@ -57,7 +52,7 @@ for attributes from multiple entries in the tree.
%setup -q
%build
%configure --disable-static --with-tcp-wrappers --with-ldap=%{ldap_impl} \
%configure --disable-static --with-ldap=%{ldap_impl} \
--with-nsswitch --with-pam --with-pam-service=system-auth \
%{sss_nss_opts} %{betxn_opts}
sed -i -e 's,%{_libdir}/dirsrv/plugins/,,g' -e 's,.so$,,g' doc/examples/*.ldif
@ -82,6 +77,9 @@ make check
%{_sbindir}/nisserver-plugin-defs
%changelog
* Thu Mar 15 2018 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.2-4
- Remove tcpwrappers support as they aren't available in Fedora anymore
* Thu Mar 15 2018 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.2-3
- Do not build on i686 in Fedora 28 or later as 389-ds-base is not available there anymore
- Resolves rhbz#1556448