[iptables] add libtoolize to build properly on ppc64le (RHBZ#1051220)

Jiří Popelka jpopelka at fedoraproject.org
Fri Jan 10 12:18:52 UTC 2014


commit d303677f8864fb61f731f46a5b553b9ac04f9bd2
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Fri Jan 10 13:18:23 2014 +0100

    add libtoolize to build properly on ppc64le (RHBZ#1051220)

 iptables.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/iptables.spec b/iptables.spec
index de5c9d1..ae9c9d2 100644
--- a/iptables.spec
+++ b/iptables.spec
@@ -7,7 +7,7 @@
 Name: iptables
 Summary: Tools for managing Linux kernel packet filtering capabilities
 Version: 1.4.21
-Release: 3%{?dist}
+Release: 4%{?dist}
 Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2
 Source1: iptables.init
 Source2: iptables-config
@@ -20,6 +20,7 @@ BuildRequires: libnfnetlink-devel
 BuildRequires: libselinux-devel
 BuildRequires: kernel-headers
 BuildRequires: systemd
+BuildRequires: libtool
 
 # Virtually provide libxtables.so.9 to be able to create the buildroot.
 # The iproute package is needed by iniscripts. iproute also provides tc, which
@@ -83,6 +84,7 @@ Currently only provides nfnl_osf with the pf.os database.
 %setup -q
 
 %build
+libtoolize --install --force --verbose
 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing " \
 %configure --enable-devel --with-kernel=/usr --with-kbuild=/usr --with-ksource=/usr
 
@@ -197,6 +199,9 @@ install -c -m 755 ip6tabes.save-legacy %{buildroot}/%{legacy_actions}/ip6tables/
 
 
 %changelog
+* Fri Jan 10 2014 Jiri Popelka <jpopelka at redhat.com> - 1.4.21-4
+- add libtoolize to build properly on ppc64le (RHBZ#1051220)
+
 * Thu Jan 09 2014 Jiri Popelka <jpopelka at redhat.com> - 1.4.21-3
 - no need to support the pre-systemd things
 - use systemd macros (#850166)


More information about the scm-commits mailing list