aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initscripts.spec24
1 files changed, 21 insertions, 3 deletions
diff --git a/initscripts.spec b/initscripts.spec
index db3e3488..c2b69c87 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
@@ -322,14 +335,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}