aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-11-12 07:02:53 +0000
committerBill Nottingham <notting@redhat.com>2002-11-12 07:02:53 +0000
commite8bc1aaeb123b195541805b5bc68e74650a873bb (patch)
treeffda5040c9d17a42835ae9329c21546daa41995c
parent95aabc1aee4b226fe2f540cd576381f33c35f4be (diff)
downloadinitscripts-e8bc1aaeb123b195541805b5bc68e74650a873bb.tar
initscripts-e8bc1aaeb123b195541805b5bc68e74650a873bb.tar.gz
initscripts-e8bc1aaeb123b195541805b5bc68e74650a873bb.tar.bz2
initscripts-e8bc1aaeb123b195541805b5bc68e74650a873bb.tar.xz
initscripts-e8bc1aaeb123b195541805b5bc68e74650a873bb.zip
fix file exclusion stuff
-rw-r--r--Makefile2
-rw-r--r--initscripts.spec6
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9d590ee0..87bf2b02 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,8 @@ install:
mkdir -p $(ROOT)/etc/sysconfig/console
if uname -m | grep -q s390 ; then \
install -m644 sysconfig/init.s390 $(ROOT)/etc/sysconfig/init ; \
+ else
+ rm -f $(ROOT)/etc/sysconfig/init.s390
fi
mv $(ROOT)/etc/sysconfig/network-scripts/ifup $(ROOT)/sbin
diff --git a/initscripts.spec b/initscripts.spec
index 85bba8e0..6950ee38 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -59,9 +59,9 @@ popd
%ifnarch s390 s390x
rm -f \
- /etc/sysconfig/network-scripts/ifup-ctc \
- /etc/sysconfig/network-scripts/ifup-escon \
- /etc/sysconfig/network-scripts/ifup-iucv
+ $RPM_BUILD_ROOT/etc/sysconfig/network-scripts/ifup-ctc \
+ $RPM_BUILD_ROOT/etc/sysconfig/network-scripts/ifup-escon \
+ $RPM_BUILD_ROOT/etc/sysconfig/network-scripts/ifup-iucv
%endif
%pre