summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorNoam Meltzer <tsnoam@gmail.com>2014-06-27 05:44:38 +0000
committerJakub Hrozek <jhrozek@redhat.com>2014-09-02 10:56:47 +0200
commit68b608d90c716c1aa475bfcb29141bcc6286fe37 (patch)
treeb3d56f3317cb580bb93f5c989b4e809d5140252c /contrib
parentb9c8ce2bdd4045782c243605a1b999098bedcffc (diff)
downloadsssd-68b608d90c716c1aa475bfcb29141bcc6286fe37.tar.gz
sssd-68b608d90c716c1aa475bfcb29141bcc6286fe37.tar.xz
sssd-68b608d90c716c1aa475bfcb29141bcc6286fe37.zip
NFSv4 client: add to RPM spec
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Roland Mainz <rmainz@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index a566a5550..6e9d96984 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -148,6 +148,11 @@ BuildRequires: systemd-devel
%if (0%{?with_cifs_utils_plugin} == 1)
BuildRequires: cifs-utils-devel
%endif
+%if ((0%{?fedora} >= 15) || (0%{?rhel} >= 7))
+BuildRequires: libnfsidmap-devel
+%else
+BuildRequires: nfs-utils-lib-devel
+%endif
# RHEL 5 is too old to support samba4 and the PAC responder
%if !0%{?is_rhel5}
@@ -478,6 +483,7 @@ autoreconf -ivf
--with-krb5-rcache-dir=%{_localstatedir}/cache/krb5rcache \
--enable-nsslibdir=/%{_lib} \
--enable-pammoddir=/%{_lib}/security \
+ --enable-nfsidmaplibdir=%{_libdir}/libnfsidmap \
--disable-static \
--disable-rpath \
%{?with_ccache} \
@@ -627,6 +633,7 @@ rm -rf $RPM_BUILD_ROOT
# 3rd party application libraries
%{_libdir}/sssd/modules/libsss_autofs.so
%{_libdir}/libsss_sudo.so
+%{_libdir}/libnfsidmap/sss.so
%{ldb_modulesdir}/memberof.so
%{_bindir}/sss_ssh_authorizedkeys