diff options
Diffstat (limited to 'initscripts.spec')
-rw-r--r-- | initscripts.spec | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/initscripts.spec b/initscripts.spec index 8d35e309..749d84c5 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -34,6 +34,7 @@ Requires: procps-ng Requires: setup Requires: systemd Requires: util-linux +Recommends: initscripts-service Requires(pre): shadow-utils Requires(post): coreutils @@ -51,8 +52,6 @@ BuildRequires: make %{?systemd_requires} BuildRequires: systemd -Provides: /sbin/service - Obsoletes: %{name} < 9.82-2 # === PATCHES ================================================================= @@ -89,6 +88,23 @@ other legacy tools & utilities. # === SUBPACKAGES ============================================================= +%package -n initscripts-service +Summary: Support for service command +BuildArch: noarch + +%shared_requirements + +Requires: systemd + +Provides: /sbin/service + +Obsoletes: %{name} < 9.82-2 + +%description -n initscripts-service +This package provides service command. + +# --------------- + %package -n network-scripts Summary: Legacy scripts for manipulating of network devices Requires: %{name}%{?_isa} = %{version}-%{release} @@ -292,7 +308,6 @@ fi %{_bindir}/* %{_sbindir}/consoletype %{_sbindir}/genhostid -%{_sbindir}/service %{_libexecdir}/import-state %{_libexecdir}/loadmodules @@ -304,10 +319,20 @@ fi %{_udevrulesdir}/* %{_mandir}/man1/* -%{_mandir}/man8/service.* # ============================================================================= +%files -n initscripts-service + +%dir %{_libexecdir}/%{name} +%dir %{_libexecdir}/%{name}/legacy-actions + +%{_sbindir}/service + +%{_mandir}/man8/service.* + +# --------------- + %files -n network-scripts %doc doc/examples/ %dir %{_sysconfdir}/sysconfig/network-scripts |