diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | initscripts.spec | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -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 |