From d862e55716e1b24168fd5deef44c4f9deb7c0709 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 18 Jan 2016 13:47:11 +0100 Subject: SPEC: Move libsss_autofs.so outside sssd-common It will reduce dependency chain in container world. libsss_autofs.so depends only on libc and requires sssd unix sockets. And sssd-common has many requirements. Reviewed-by: Jakub Hrozek --- contrib/sssd.spec.in | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'contrib') diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 08582b75e..2245a82e6 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -181,6 +181,7 @@ Requires: libldb >= 0.9.3 Requires: libtdb >= 1.1.3 Requires: sssd-client%{?_isa} = %{version}-%{release} Requires: libsss_sudo = %{version}-%{release} +Requires: libsss_autofs%{?_isa} = %{version}-%{release} Requires: libsss_idmap = %{version}-%{release} Conflicts: sssd < %{version}-%{release} %if (0%{?use_systemd} == 1) @@ -196,8 +197,6 @@ Requires(postun): initscripts chkconfig ### Provides ### Provides: libsss_sudo-devel = %{version}-%{release} Obsoletes: libsss_sudo-devel <= 1.9.93 -Provides: libsss_autofs = %{version}-%{release} -Obsoletes: libsss_autofs <= 1.9.93 %description common Common files for the SSSD. The common package includes all the files needed @@ -225,6 +224,14 @@ Requires(postun): /sbin/ldconfig %description -n libsss_sudo A utility library to allow communication between SUDO and SSSD +%package -n libsss_autofs +Summary: A library to allow communication between Autofs and SSSD +Group: Development/Libraries +License: LGPLv3+ + +%description -n libsss_autofs +A utility library to allow communication between Autofs and SSSD + %package tools Summary: Userspace tools for use with the SSSD Group: Applications/System @@ -733,8 +740,6 @@ done %{_libdir}/%{name}/libsss_semanage.so # 3rd party application libraries -%dir %{_libdir}/%{name}/modules -%{_libdir}/%{name}/modules/libsss_autofs.so %{_libdir}/libnfsidmap/sss.so %{ldb_modulesdir}/memberof.so @@ -875,6 +880,12 @@ done %doc src/sss_client/COPYING %{_libdir}/libsss_sudo.so* +%files -n libsss_autofs +%defattr(-,root,root,-) +%doc src/sss_client/COPYING src/sss_client/COPYING.LESSER +%dir %{_libdir}/%{name}/modules +%{_libdir}/%{name}/modules/libsss_autofs.so + %files tools -f sssd_tools.lang %defattr(-,root,root,-) %doc COPYING -- cgit