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

This commit is contained in:
Jiri Popelka 2014-01-10 13:18:23 +01:00
parent 7922fcbc7d
commit d303677f88

View File

@ -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@redhat.com> - 1.4.21-4
- add libtoolize to build properly on ppc64le (RHBZ#1051220)
* Thu Jan 09 2014 Jiri Popelka <jpopelka@redhat.com> - 1.4.21-3
- no need to support the pre-systemd things
- use systemd macros (#850166)