Split out systemd-pam subpackage
This allows minimal installations without systemd but with systemd-libs installed to drop the dependency on pam.
This commit is contained in:
parent
8b4408b5c9
commit
28e2d47eef
20
systemd.spec
20
systemd.spec
@ -13,7 +13,7 @@
|
|||||||
Name: systemd
|
Name: systemd
|
||||||
Url: http://www.freedesktop.org/wiki/Software/systemd
|
Url: http://www.freedesktop.org/wiki/Software/systemd
|
||||||
Version: 229
|
Version: 229
|
||||||
Release: 12%{?gitcommit:.git%{gitcommitshort}}%{?dist}
|
Release: 13%{?gitcommit:.git%{gitcommitshort}}%{?dist}
|
||||||
# For a breakdown of the licensing, see README
|
# For a breakdown of the licensing, see README
|
||||||
License: LGPLv2+ and MIT and GPLv2+
|
License: LGPLv2+ and MIT and GPLv2+
|
||||||
Summary: A System and Service Manager
|
Summary: A System and Service Manager
|
||||||
@ -113,6 +113,7 @@ BuildRequires: libtool
|
|||||||
%if %{num_patches}
|
%if %{num_patches}
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
Requires(post): sed
|
Requires(post): sed
|
||||||
Requires(post): acl
|
Requires(post): acl
|
||||||
@ -121,6 +122,7 @@ Requires(pre): coreutils
|
|||||||
Requires(pre): /usr/bin/getent
|
Requires(pre): /usr/bin/getent
|
||||||
Requires(pre): /usr/sbin/groupadd
|
Requires(pre): /usr/sbin/groupadd
|
||||||
Requires: dbus
|
Requires: dbus
|
||||||
|
Requires: %{name}-pam = %{version}-%{release}
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Recommends: diffutils
|
Recommends: diffutils
|
||||||
Requires: util-linux
|
Requires: util-linux
|
||||||
@ -159,7 +161,14 @@ Obsoletes: systemd < 185-4
|
|||||||
Conflicts: systemd < 185-4
|
Conflicts: systemd < 185-4
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
Libraries for systemd and udev, as well as the systemd PAM module.
|
Libraries for systemd and udev.
|
||||||
|
|
||||||
|
%package pam
|
||||||
|
Summary: systemd PAM module
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description pam
|
||||||
|
Systemd PAM module registers the session with systemd-logind.
|
||||||
|
|
||||||
%package compat-libs
|
%package compat-libs
|
||||||
Summary: systemd compatibility libraries
|
Summary: systemd compatibility libraries
|
||||||
@ -831,12 +840,14 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
|
|||||||
%ghost %dir %{_localstatedir}/lib/rpm-state/systemd
|
%ghost %dir %{_localstatedir}/lib/rpm-state/systemd
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%{_libdir}/security/pam_systemd.so
|
|
||||||
%{_libdir}/libnss_myhostname.so.2
|
%{_libdir}/libnss_myhostname.so.2
|
||||||
%{_libdir}/libnss_resolve.so.2
|
%{_libdir}/libnss_resolve.so.2
|
||||||
%{_libdir}/libudev.so.*
|
%{_libdir}/libudev.so.*
|
||||||
%{_libdir}/libsystemd.so.*
|
%{_libdir}/libsystemd.so.*
|
||||||
|
|
||||||
|
%files pam
|
||||||
|
%{_libdir}/security/pam_systemd.so
|
||||||
|
|
||||||
%files compat-libs
|
%files compat-libs
|
||||||
%{_libdir}/libsystemd-daemon.so.*
|
%{_libdir}/libsystemd-daemon.so.*
|
||||||
%{_libdir}/libsystemd-login.so.*
|
%{_libdir}/libsystemd-login.so.*
|
||||||
@ -1004,6 +1015,9 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
|
|||||||
%{_mandir}/man[1578]/systemd-nspawn.*
|
%{_mandir}/man[1578]/systemd-nspawn.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 18 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@bupkis> - 229-13
|
||||||
|
- Split out systemd-pam subpackage (#1327402)
|
||||||
|
|
||||||
* Mon Apr 18 2016 Harald Hoyer <harald@redhat.com> - 229-12
|
* Mon Apr 18 2016 Harald Hoyer <harald@redhat.com> - 229-12
|
||||||
- move more binaries and services from the main package to subpackages
|
- move more binaries and services from the main package to subpackages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user