[iptables] - removed include/linux/types.h before build to be able to compile

Thomas Woerner twoerner at fedoraproject.org
Mon Dec 12 15:10:02 UTC 2011


commit 697bb55852f03491bfd880ea4a8f5d5acf216ab3
Author: Thomas Woerner <twoerner at redhat.com>
Date:   Mon Dec 12 16:09:46 2011 +0100

    - removed include/linux/types.h before build to be able to compile

 iptables.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/iptables.spec b/iptables.spec
index 7f9cfe7..4ddf3d0 100644
--- a/iptables.spec
+++ b/iptables.spec
@@ -78,6 +78,8 @@ CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 
+rm -f include/linux/types.h
+
 make %{?_smp_mflags}
 
 %install
@@ -280,6 +282,7 @@ fi
   - src: remove unused IPTABLES_MULTI define
   - tests: add negation tests for libxt_statistic
   - xtoptions: flag use of XTOPT_POINTER without XTOPT_PUT
+- removed include/linux/types.h before build to be able to compile
 
 * Tue Jul 26 2011 Thomas Woerner <twoerner at redhat.com> 1.4.12-2
 - dropped temporary provide again


More information about the scm-commits mailing list