aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-11-16 21:05:02 -0500
committerBill Nottingham <notting@redhat.com>2010-11-16 21:05:02 -0500
commit3c46ef163cd34ef360c0c0322b4d90e3c3dad457 (patch)
tree2bdb147b62c957600bf6d35c0706f6b15d4f2e7c /initscripts.spec
parent7eaac898d086ea2a3dc2da549e192c5f164a5751 (diff)
parentcc5b400dd6bad85f5d7b8e4a889134d3668e20a4 (diff)
downloadinitscripts-3c46ef163cd34ef360c0c0322b4d90e3c3dad457.tar
initscripts-3c46ef163cd34ef360c0c0322b4d90e3c3dad457.tar.gz
initscripts-3c46ef163cd34ef360c0c0322b4d90e3c3dad457.tar.bz2
initscripts-3c46ef163cd34ef360c0c0322b4d90e3c3dad457.tar.xz
initscripts-3c46ef163cd34ef360c0c0322b4d90e3c3dad457.zip
Merge branch 'systemd-branch'
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec39
1 files changed, 33 insertions, 6 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 55ac44d3..5a9dc4b0 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -4,11 +4,11 @@
Summary: The inittab file and the /etc/init.d scripts
Name: initscripts
-Version: 9.21
+Version: 9.21.systemd
# ppp-watch is GPLv2+, everything else is GPLv2
License: GPLv2 and GPLv2+
Group: System Environment/Base
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://fedorahosted.org/releases/i/n/initscripts/
Source: http://fedorahosted.org/releases/i/n/initscripts/initscripts-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -66,6 +66,15 @@ your Red Hat or Fedora system, change runlevels, and shut the system down
cleanly. Initscripts also contains the scripts that activate and
deactivate most network interfaces.
+%package legacy
+Summary: Support for legacy booting methods
+Requires: initscripts = %{version}-%{release}
+Group: System Environment/Base
+
+%description legacy
+The initscripts-legacy package contains basic scripts that may be
+required to boot the system using older init systems
+
%package -n debugmode
Summary: Scripts for running in debugging mode
Requires: initscripts
@@ -217,6 +226,7 @@ rm -rf $RPM_BUILD_ROOT
/etc/init/*
%endif
%if %{_with_systemd}
+/lib/systemd/*
/lib/systemd/system/*
%endif
%config /etc/X11/prefdm
@@ -224,15 +234,15 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/rc.d
%dir /etc/rc.d/rc[0-9].d
%config(missingok) /etc/rc.d/rc[0-9].d/*
+%exclude /etc/rc.d/rc[0-9].d/*reboot
+%exclude /etc/rc.d/rc[0-9].d/*halt
/etc/rc[0-9].d
-/etc/rc
%dir /etc/rc.d/init.d
/etc/rc.local
-/etc/rc.sysinit
/etc/rc.d/init.d/*
-/etc/rc.d/rc
+%exclude /etc/rc.d/init.d/halt
+%exclude /etc/rc.d/init.d/reboot
%config(noreplace) /etc/rc.d/rc.local
-/etc/rc.d/rc.sysinit
%config(noreplace) /etc/sysctl.conf
%exclude /etc/profile.d/debug*
/etc/profile.d/*
@@ -249,6 +259,8 @@ rm -rf $RPM_BUILD_ROOT
/sbin/sushell
%attr(2755,root,root) /sbin/netreport
/lib/udev/rules.d/*
+%exclude /lib/udev/rules.d/10-console.rules
+%exclude /lib/udev/rules.d/88-clock.rules
/lib/udev/rename_device
/lib/udev/console_init
/lib/udev/console_check
@@ -274,6 +286,21 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0664,root,utmp) /var/log/wtmp
%ghost %attr(0664,root,utmp) /var/run/utmp
+%files legacy
+%defattr(-,root,root)
+%config(noreplace) /etc/inittab
+%dir /etc/rc.d
+%dir /etc/rc.d/rc[0-9].d
+%config(missingok) /etc/rc.d/rc[0-9].d/*
+/etc/rc[0-9].d
+/etc/rc
+%dir /etc/rc.d/init.d
+/etc/rc.sysinit
+/etc/rc.d/init.d/*
+/etc/rc.d/rc
+/etc/rc.d/rc.sysinit
+/lib/udev/rules.d/*
+
%files -n debugmode
%defattr(-,root,root)
%config(noreplace) /etc/sysconfig/debug