aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-12-03 14:29:21 -0500
committerBill Nottingham <notting@redhat.com>2009-12-03 14:29:21 -0500
commit79b2b232cb34f7df3e440968240975e44c4b8fc7 (patch)
tree96897ba99159dc82592baddddf3d68e7eafb64ce /initscripts.spec
parenta0025d667ffc0ecd70c0da39a7a3fede56f71a2a (diff)
downloadinitscripts-79b2b232cb34f7df3e440968240975e44c4b8fc7.tar
initscripts-79b2b232cb34f7df3e440968240975e44c4b8fc7.tar.gz
initscripts-79b2b232cb34f7df3e440968240975e44c4b8fc7.tar.bz2
initscripts-79b2b232cb34f7df3e440968240975e44c4b8fc7.tar.xz
initscripts-79b2b232cb34f7df3e440968240975e44c4b8fc7.zip
Move to new upstart job location and file extension.
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec12
1 files changed, 6 insertions, 6 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 60fa8a95..93772dc3 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -19,7 +19,7 @@ Requires: util-linux-ng >= 2.16, mount >= 2.11l
Requires: bash >= 3.0
Requires: sysvinit-tools >= 2.87
%if with_upstart
-Requires: upstart
+Requires: upstart >= 0.6.0
%else
Requires: SysVinit >= 2.85-38
%endif
@@ -79,7 +79,7 @@ make ROOT=$RPM_BUILD_ROOT SUPERUSER=`id -un` SUPERGROUP=`id -gn` mandir=%{_mandi
rm -f $RPM_BUILD_ROOT/etc/rc.d/init.d/single
%else
mv -f $RPM_BUILD_ROOT/etc/inittab.sysv $RPM_BUILD_ROOT/etc/inittab
- rm -rf $RPM_BUILD_ROOT/etc/event.d
+ rm -rf $RPM_BUILD_ROOT/etc/init
%endif
rm -f $RPM_BUILD_ROOT/etc/inittab.*
@@ -88,12 +88,12 @@ rm -f \
$RPM_BUILD_ROOT/etc/sysconfig/network-scripts/ifup-ctc \
$RPM_BUILD_ROOT/lib/udev/rules.d/55-ccw.rules \
$RPM_BUILD_ROOT/lib/udev/ccw_init \
- $RPM_BUILD_ROOT/etc/event.d/console
+ $RPM_BUILD_ROOT/etc/init/console
%else
rm -f \
$RPM_BUILD_ROOT/etc/rc.d/rc.sysinit.s390init \
$RPM_BUILD_ROOT/etc/sysconfig/init.s390 \
- $RPM_BUILD_ROOT/etc/event.d/tty[1-6]
+ $RPM_BUILD_ROOT/etc/init/tty[1-6]
%endif
%pre
@@ -182,7 +182,7 @@ rm -rf $RPM_BUILD_ROOT
/etc/statetab
%dir /etc/statetab.d
%if with_upstart
-%config(noreplace) /etc/event.d/*
+%config(noreplace) /etc/init/*
%endif
%config /etc/X11/prefdm
%config(noreplace) /etc/inittab
@@ -236,7 +236,7 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/NetworkManager/dispatcher.d
/etc/NetworkManager/dispatcher.d/00-netreport
/etc/NetworkManager/dispatcher.d/05-netfs
-%doc sysconfig.txt sysvinitfiles static-routes-ipv6 ipv6-tunnel.howto ipv6-6to4.howto changes.ipv6 COPYING README-event.d
+%doc sysconfig.txt sysvinitfiles static-routes-ipv6 ipv6-tunnel.howto ipv6-6to4.howto changes.ipv6 COPYING README-init
/var/lib/stateless
%ghost %attr(0600,root,utmp) /var/log/btmp
%ghost %attr(0664,root,utmp) /var/log/wtmp