diff options
Diffstat (limited to 'contrib/sssd.spec.in')
-rw-r--r-- | contrib/sssd.spec.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 8aa258270..777de90f9 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -112,8 +112,11 @@ BuildRequires: gettext-devel BuildRequires: pkgconfig BuildRequires: findutils %if (0%{?enable_experimental} == 1) +# RHEL 5 is too old to support samba4 and the PAC responder +%if !0%{?is_rhel5} BuildRequires: samba4-devel %endif +%endif %if 0%{?is_rhel5} > 0 BuildRequires: glib2-devel @@ -329,9 +332,14 @@ rm -rf $RPM_BUILD_ROOT %{_libexecdir}/%{servicename}/sssd_autofs %{_libexecdir}/%{servicename}/sssd_ssh %{_libexecdir}/%{servicename}/sssd_sudo + +# RHEL 5 is too old to support the PAC responder +%if !0%{?is_rhel5} %{_libexecdir}/%{servicename}/sssd_pac %endif +%endif + %{_libdir}/%{name}/libsss_ipa.so %{_libdir}/%{name}/libsss_krb5.so %{_libdir}/%{name}/libsss_ldap.so @@ -377,8 +385,10 @@ rm -rf $RPM_BUILD_ROOT /%{_lib}/security/pam_sss.so %{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so %if (0%{?enable_experimental} == 1) +%if !0%{?is_rhel5} %{_libdir}/krb5/plugins/authdata/sssd_pac_plugin.so %endif +%endif %{_mandir}/man8/pam_sss.8* %{_mandir}/man8/sssd_krb5_locator_plugin.8* |