Only require libsss_nss_idmap-python in Fedora 19+

The package is only available in Fedora 19.
This means SID resolution in the UI won't work in Fedora 18.
This commit is contained in:
Petr Viktorin 2013-05-07 12:47:29 +02:00 committed by Martin Kosek
parent 03cdc22c94
commit 8f6e6514c4

View File

@ -211,7 +211,9 @@ Requires: samba4
Requires: samba4-winbind Requires: samba4-winbind
%endif %endif
Requires: libsss_idmap Requires: libsss_idmap
%if 0%{?fedora} >= 19
Requires: libsss_nss_idmap-python Requires: libsss_nss_idmap-python
%endif
# We use alternatives to divert winbind_krb5_locator.so plugin to libkrb5 # We use alternatives to divert winbind_krb5_locator.so plugin to libkrb5
# on the installes where server-trust-ad subpackage is installed because # on the installes where server-trust-ad subpackage is installed because
# IPA AD trusts cannot be used at the same time with the locator plugin # IPA AD trusts cannot be used at the same time with the locator plugin
@ -845,6 +847,9 @@ fi
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ca.crt %ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ca.crt
%changelog %changelog
* Tue May 7 2013 Petr Viktorin <pviktori@redhat.com> - 3.1.99-12
- Require libsss_nss_idmap-python in Fedora 19+
* Mon May 6 2013 Petr Vobornik <pvoborni@redhat.com> - 3.1.99-11 * Mon May 6 2013 Petr Vobornik <pvoborni@redhat.com> - 3.1.99-11
- Web UI plugins - Web UI plugins