diff options
author | Bill Nottingham <notting@redhat.com> | 2000-07-13 20:45:04 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-07-13 20:45:04 +0000 |
commit | 686482a8d92c8c06e52c8363ca0ea65bc57576d2 (patch) | |
tree | 6968ef336b8e0c2a51c088d9d920cc481bccd350 /initscripts.spec | |
parent | 7d5dc780a8260e7b107bfd82a99bbe08670b70c1 (diff) | |
download | initscripts-686482a8d92c8c06e52c8363ca0ea65bc57576d2.tar initscripts-686482a8d92c8c06e52c8363ca0ea65bc57576d2.tar.gz initscripts-686482a8d92c8c06e52c8363ca0ea65bc57576d2.tar.bz2 initscripts-686482a8d92c8c06e52c8363ca0ea65bc57576d2.tar.xz initscripts-686482a8d92c8c06e52c8363ca0ea65bc57576d2.zip |
tweak %pretrans some more
Diffstat (limited to 'initscripts.spec')
-rw-r--r-- | initscripts.spec | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/initscripts.spec b/initscripts.spec index 18dfb7d6..4f6a25ab 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -3,7 +3,7 @@ Name: initscripts Version: 5.31 Copyright: GPL Group: System Environment/Base -Release: 1 +Release: 2 Source: initscripts-%{version}.tar.gz BuildRoot: /%{_tmppath}/%{name}-%{version}-%{release}-root Requires: mingetty, /bin/awk, /bin/sed, mktemp, e2fsprogs >= 1.15, console-tools @@ -13,9 +13,11 @@ Requires: modutils >= 2.3.11-5 %ifarch alpha Requires: util-linux >= 2.9w-26 %endif -PreTransaction: mv /etc/rc.d/* /etc -PreTransaction: rmdir /etc/rc.d +PreTransaction: S_ISLNK /etc/rc.d +PreTransaction: mv /etc/rc.d /etc/rc.d.rpmsave +PreTransaction: mv /etc/rc.d.rpmsave/rc* /etc/rc.d.rpmsave/init.d /etc PreTransaction: symlink . /etc/rc.d +PreTransaction: rmdir /etc/rc.d.rpmsave Conflicts: kernel <= 2.2, timeconfig < 3.0, pppd < 2.3.9, wvdial < 1.40-3 Conflicts: initscripts < 1.22.1-5 Obsoletes: rhsound sapinit @@ -226,6 +228,9 @@ rm -rf $RPM_BUILD_ROOT %ghost %attr(0664,root,utmp) /var/run/utmp %changelog +* Thu Jul 13 2000 Jeff Johnson <jbj@redhat.com> +- test if /etc/rc.d is a symlink already in pre-transaction syscalls. + * Tue Jul 11 2000 Bill Nottingham <notting@redhat.com> - implement the %pre with RPM Magic(tm) |