[iptables] fix the compat provides for all 64-bit arches

Dan Horák sharkcz at fedoraproject.org
Sun Oct 14 15:22:24 UTC 2012


commit fa59546b65e1271163622e6675181ed97e917265
Author: Dan Hor?k <dan at danny.cz>
Date:   Sun Oct 14 17:22:13 2012 +0200

    fix the compat provides for all 64-bit arches

 iptables.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/iptables.spec b/iptables.spec
index 4bf099f..a6debf1 100644
--- a/iptables.spec
+++ b/iptables.spec
@@ -25,7 +25,7 @@
 Name: iptables
 Summary: Tools for managing Linux kernel packet filtering capabilities
 Version: 1.4.16.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2
 Source1: iptables.init
 Source2: iptables-config
@@ -47,7 +47,7 @@ BuildRequires: systemd-units
 Provides: %{name}-ipv6 = %{version}-%{release}
 Obsoletes: %{name}-ipv6 < %{version}-%{release}
 
-%ifarch x86_64
+%if %{_lib} == lib64
 Provides: libxtables.so.7()(64bit)
 %else
 Provides: libxtables.so.7
@@ -292,6 +292,9 @@ fi
 
 
 %changelog
+* Sun Oct 14 2012 Dan Horák <dan[at]dany.cz> 1.4.16.2-3
+- fix the compat provides for all 64-bit arches
+
 * Fri Oct 12 2012 Thomas Woerner <twoerner at redhat.com> 1.4.16.2-2
 - new sub package services providing the systemd services (RHBZ#862922)
 - new sub package utils: provides nfnl_osf and the pf.os database


More information about the scm-commits mailing list