diff options
author | Jan Macku <jamacku@redhat.com> | 2022-02-22 16:20:34 +0100 |
---|---|---|
committer | Jan Macku <jamacku@redhat.com> | 2022-02-24 09:42:38 +0100 |
commit | 46e8938f3daf88820e1d202bc48408c43def5a0f (patch) | |
tree | 8cd8cf8d18d29d6cac2d368b86d451fc9abf5309 /initscripts.spec | |
parent | 81cc673d1310dfe700603b6b57607d3128faba16 (diff) | |
download | initscripts-46e8938f3daf88820e1d202bc48408c43def5a0f.tar initscripts-46e8938f3daf88820e1d202bc48408c43def5a0f.tar.gz initscripts-46e8938f3daf88820e1d202bc48408c43def5a0f.tar.bz2 initscripts-46e8938f3daf88820e1d202bc48408c43def5a0f.tar.xz initscripts-46e8938f3daf88820e1d202bc48408c43def5a0f.zip |
spec: Move rename_device to subpackage `initscripts-rename-device`
It allows to rename_device to be installed independently on initscripts.
(cherry picked from commit 69a2526fa919a1ab215a4b19640b2214e0a1d78e)
Resolves: #2057917
Diffstat (limited to 'initscripts.spec')
-rw-r--r-- | initscripts.spec | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/initscripts.spec b/initscripts.spec index 887794f6..51d2c17b 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -36,6 +36,7 @@ Requires: systemd Requires: util-linux Requires: chkconfig Requires: initscripts-service +Requires: initscripts-rename-device Requires(pre): shadow-utils Requires(post): coreutils @@ -89,6 +90,18 @@ other legacy tools & utilities. # === SUBPACKAGES ============================================================= +%package -n initscripts-rename-device +Summary: Udev helper utility that provides network interface naming + +%shared_requirements + +Obsoletes: %{name} < 10.16-1 + +%description -n initscripts-rename-device +Udev helper utility that provides network interface naming + +# --------------- + %package -n initscripts-service Summary: Support for service command BuildArch: noarch @@ -321,14 +334,19 @@ fi %{_prefix}/lib/systemd/system/import-state.service %{_prefix}/lib/systemd/system/loadmodules.service -%{_prefix}/lib/udev/rename_device - -%{_udevrulesdir}/* %{_mandir}/man1/* # ============================================================================= +%files -n initscripts-rename-device + +%{_prefix}/lib/udev/rename_device + +%{_udevrulesdir}/* + +# --------------- + %files -n initscripts-service %dir %{_libexecdir}/%{name} |