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.
This commit is contained in:
parent
584e0c3964
commit
00dde99057
19
sssd.spec
19
sssd.spec
@ -180,6 +180,7 @@ Conflicts: sssd < 1.10.0-8%{?dist}.beta2
|
|||||||
# Requires
|
# Requires
|
||||||
Requires: sssd-client%{?_isa} = %{version}-%{release}
|
Requires: sssd-client%{?_isa} = %{version}-%{release}
|
||||||
Requires: libsss_sudo = %{version}-%{release}
|
Requires: libsss_sudo = %{version}-%{release}
|
||||||
|
Requires: libsss_autofs%{?_isa} = %{version}-%{release}
|
||||||
Requires: libsss_idmap%{?_isa} = %{version}-%{release}
|
Requires: libsss_idmap%{?_isa} = %{version}-%{release}
|
||||||
Requires(post): systemd-units chkconfig
|
Requires(post): systemd-units chkconfig
|
||||||
Requires(preun): systemd-units chkconfig
|
Requires(preun): systemd-units chkconfig
|
||||||
@ -189,8 +190,6 @@ Requires(postun): systemd-units chkconfig
|
|||||||
### Provides ###
|
### Provides ###
|
||||||
Provides: libsss_sudo-devel = %{version}-%{release}
|
Provides: libsss_sudo-devel = %{version}-%{release}
|
||||||
Obsoletes: libsss_sudo-devel <= 1.10.0-7%{?dist}.beta1
|
Obsoletes: libsss_sudo-devel <= 1.10.0-7%{?dist}.beta1
|
||||||
Provides: libsss_autofs = %{version}-%{release}
|
|
||||||
Obsoletes: libsss_autofs <= 1.10.0-7%{?dist}.beta1
|
|
||||||
|
|
||||||
%description common
|
%description common
|
||||||
Common files for the SSSD. The common package includes all the files needed
|
Common files for the SSSD. The common package includes all the files needed
|
||||||
@ -220,6 +219,14 @@ Requires(postun): /sbin/ldconfig
|
|||||||
%description -n libsss_sudo
|
%description -n libsss_sudo
|
||||||
A utility library to allow communication between SUDO and SSSD
|
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
|
%package tools
|
||||||
Summary: Userspace tools for use with the SSSD
|
Summary: Userspace tools for use with the SSSD
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -733,8 +740,6 @@ done
|
|||||||
%{_libdir}/%{name}/libsss_semanage.so
|
%{_libdir}/%{name}/libsss_semanage.so
|
||||||
|
|
||||||
# 3rd party application libraries
|
# 3rd party application libraries
|
||||||
%dir %{_libdir}/%{name}/modules
|
|
||||||
%{_libdir}/%{name}/modules/libsss_autofs.so
|
|
||||||
%{_libdir}/libnfsidmap/sss.so
|
%{_libdir}/libnfsidmap/sss.so
|
||||||
|
|
||||||
%{ldb_modulesdir}/memberof.so
|
%{ldb_modulesdir}/memberof.so
|
||||||
@ -868,6 +873,12 @@ done
|
|||||||
%doc src/sss_client/COPYING
|
%doc src/sss_client/COPYING
|
||||||
%{_libdir}/libsss_sudo.so*
|
%{_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
|
%files tools -f sssd_tools.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user