diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sssd.spec.in | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 9855e11a8..13ea53204 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -180,6 +180,7 @@ License: GPLv3+ Requires: libldb >= 0.9.3 Requires: libtdb >= 1.1.3 Requires: sssd-client%{?_isa} = %{version}-%{release} +Requires: libsss_sudo = %{version}-%{release} Requires: libsss_idmap = %{version}-%{release} Conflicts: sssd < %{version}-%{release} %if (0%{?use_systemd} == 1) @@ -193,8 +194,6 @@ Requires(postun): initscripts chkconfig %endif ### Provides ### -Provides: libsss_sudo = %{version}-%{release} -Obsoletes: libsss_sudo <= 1.9.93 Provides: libsss_sudo-devel = %{version}-%{release} Obsoletes: libsss_sudo-devel <= 1.9.93 Provides: libsss_autofs = %{version}-%{release} @@ -216,6 +215,16 @@ Requires(postun): /sbin/ldconfig Provides the libraries needed by the PAM and NSS stacks to connect to the SSSD service. +%package -n libsss_sudo +Summary: A library to allow communication between SUDO and SSSD +Group: Development/Libraries +License: LGPLv3+ +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description -n libsss_sudo +A utility library to allow communication between SUDO and SSSD + %package tools Summary: Userspace tools for use with the SSSD Group: Applications/System @@ -715,7 +724,6 @@ 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 @@ -840,6 +848,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/pam_sss.8* %{_mandir}/man8/sssd_krb5_locator_plugin.8* +%files -n libsss_sudo +%defattr(-,root,root,-) +%doc src/sss_client/COPYING +%{_libdir}/libsss_sudo.so* + %files tools -f sssd_tools.lang %defattr(-,root,root,-) %doc COPYING @@ -1021,6 +1034,10 @@ fi %postun client -p /sbin/ldconfig +%post -n libsss_sudo -p /sbin/ldconfig + +%postun -n libsss_sudo -p /sbin/ldconfig + %post -n libipa_hbac -p /sbin/ldconfig %postun -n libipa_hbac -p /sbin/ldconfig |