aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-04-25 14:22:55 -0400
committerBill Nottingham <notting@redhat.com>2008-04-25 14:22:55 -0400
commit187a919173f151335bd264c78c465c08e6c4b3ba (patch)
tree330d886777873e316ea2bad2f744d2a4802d9f0c
parent951e577ef3b59b24f7366d08ce738980f327cf5d (diff)
downloadinitscripts-187a919173f151335bd264c78c465c08e6c4b3ba.tar
initscripts-187a919173f151335bd264c78c465c08e6c4b3ba.tar.gz
initscripts-187a919173f151335bd264c78c465c08e6c4b3ba.tar.bz2
initscripts-187a919173f151335bd264c78c465c08e6c4b3ba.tar.xz
initscripts-187a919173f151335bd264c78c465c08e6c4b3ba.zip
Obsolete event-compat-sysv
-rw-r--r--initscripts.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 61d47e0a..096b1e0e 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -17,7 +17,8 @@ Requires: module-init-tools
Requires: util-linux >= 2.10s-11, mount >= 2.11l
Requires: bash >= 3.0
%if with_upstart
-Requires: upstart, event-compat-sysv >= 0.3.9-14
+Requires: upstart
+Obsoletes: event-compat-sysv
%else
Requires: SysVinit >= 2.85-38
%endif
@@ -64,6 +65,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
%endif
rm -f $RPM_BUILD_ROOT/etc/inittab.*
@@ -172,7 +174,9 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/rwtab.d
/etc/statetab
%dir /etc/statetab.d
+%if with_upstart
%config(noreplace) /etc/event.d/*
+%endif
/etc/udev/rules.d/*
%config /etc/X11/prefdm
%config(noreplace) /etc/inittab