Hide Forgot
[ 160s] RPM build errors: [ 160s] File not found: /home/abuild/rpmbuild/BUILDROOT/iptables-1.4.19.1-1.myel7b.1.2.x86_64/etc/xtables/connlabel.conf You will get to this build failure when you have iptables installed in buildenv. Problem in Makefile target "install-data-hook": @test -f /etc/xtables/connlabel.conf || $(INSTALL) -m 644 etc/xtables/connlabel.conf $(DESTDIR)/etc/xtables/connlabel.conf || : should be: @test -f $(DESTDIR)/etc/xtables/connlabel.conf || $(INSTALL) -m 644 etc/xtables/connlabel.conf $(DESTDIR)/etc/xtables/connlabel.conf || :
One liner: sed -i 's|@test -f /etc/xtables/connlabel.conf|@test -f $(DESTDIR)/etc/xtables/connlabel.conf|' Makefile
VERIFIED build succeeds for iptables-1.4.21-8.el7.src.rpm on x86_64
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.