aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-05-30 17:01:59 +0200
committerDee'Kej <deekej@linuxmail.org>2018-06-01 14:51:29 +0200
commit37109fdf9808ffc87cfff5604c8ca445ffdec64c (patch)
tree83e3f9456a148065fb3d84b6f6b42127000ad577 /initscripts.spec
parent1ea9057be049bebf01e24c48ff14e1121e9b4645 (diff)
downloadinitscripts-37109fdf9808ffc87cfff5604c8ca445ffdec64c.tar
initscripts-37109fdf9808ffc87cfff5604c8ca445ffdec64c.tar.gz
initscripts-37109fdf9808ffc87cfff5604c8ca445ffdec64c.tar.bz2
initscripts-37109fdf9808ffc87cfff5604c8ca445ffdec64c.tar.xz
initscripts-37109fdf9808ffc87cfff5604c8ca445ffdec64c.zip
fedora-* services renamed to more general names
This removes the OS flavour embedded into the initscripts. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1584645 Resolves: #161
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/initscripts.spec b/initscripts.spec
index ae9a65c8..0a3209b4 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -131,7 +131,7 @@ touch %{buildroot}%{_sbindir}/ifdown
# ---------------
%post
-%systemd_post fedora-domainname.service fedora-import-state.service fedora-loadmodules.service fedora-readonly.service
+%systemd_post nis-domainname.service import-state.service loadmodules.service readonly-root.service
chkconfig --add network > /dev/null 2>&1 || :
chkconfig --add netconsole > /dev/null 2>&1 || :
@@ -146,7 +146,7 @@ chkconfig --add netconsole > /dev/null 2>&1 || :
# ---------------
%preun
-%systemd_preun fedora-domainname.service fedora-import-state.service fedora-loadmodules.service fedora-readonly.service
+%systemd_preun nis-domainname.service import-state.service loadmodules.service readonly-root.service
if [ $1 -eq 0 ]; then
chkconfig --del network > /dev/null 2>&1 || :
@@ -157,7 +157,7 @@ fi
# ---------------
%postun
-%systemd_postun fedora-domainname.service fedora-import-state.service fedora-loadmodules.service fedora-readonly.service
+%systemd_postun nis-domainname.service import-state.service loadmodules.service readonly-root.service
# === PACKAGING INSTRUCTIONS ==================================================
@@ -211,7 +211,10 @@ fi
%attr(4755,root,root) %{_sbindir}/usernetctl
-%{_prefix}/lib/systemd/fedora-*
+%{_prefix}/lib/systemd/import-state
+%{_prefix}/lib/systemd/loadmodules
+%{_prefix}/lib/systemd/nis-domainname
+%{_prefix}/lib/systemd/readonly-root
%{_prefix}/lib/systemd/system/*
%{_prefix}/lib/udev/rename_device