summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--slapi-nis.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/slapi-nis.spec b/slapi-nis.spec
index 693e621..5bdbbec 100644
--- a/slapi-nis.spec
+++ b/slapi-nis.spec
@@ -23,12 +23,15 @@ BuildRequires: 389-ds-base-devel, %{ldap_impl}-devel
BuildRequires: nspr-devel, nss-devel, /usr/bin/rpcgen
%if 0%{?fedora} > 18 || 0%{?rhel} > 6
BuildRequires: libsss_nss_idmap-devel
+%define sss_nss_opts --with-sss-nss-idmap
+%else
+%define sss_nss_opts %{nil}
%endif
BuildRequires: pam-devel
%if 0%{?fedora} > 6 || 0%{?rhel} > 5
-BuildRequires: tcp_wrappers-devel
+BuildRequires: tcp_wrappers-devel
%else
-BuildRequires: tcp_wrappers
+BuildRequires: tcp_wrappers
%endif
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
BuildRequires: libtirpc-devel
@@ -54,7 +57,9 @@ for attributes from multiple entries in the tree.
%setup -q
%build
-%configure --disable-static --with-tcp-wrappers --with-ldap=%{ldap_impl} %{betxn_opts}
+%configure --disable-static --with-tcp-wrappers --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
make %{?_smp_mflags}
@@ -98,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
won't handle
- include IPA-specific docs as docs
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.47-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
* Fri May 24 2013 Nalin Dahyabhai <nalin@redhat.com> - 0.47-1
- fix request argument memory leaks in NIS server
- add a %%sort function