The package rpms/strongswan.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/strongswan.git/commit/?id=eec22d1....
Change:
+%ifarch x86_64 %{ix86}
Thanks.
Full change:
============
commit eec22d1c44af0cb7fa0fa81c113c85480f1ebf89
Author: Paul Wouters <pwouters(a)redhat.com>
Date: Tue Sep 12 01:26:38 2017 -0400
Fixup for uintptr_t on rawhide gcc.
also disable modules that don't compile on all architectures
diff --git a/strongswan.spec b/strongswan.spec
index 7e7c8f4..248646e 100644
--- a/strongswan.spec
+++ b/strongswan.spec
@@ -8,6 +8,7 @@ Summary: An OpenSource IPsec-based VPN and TNC solution
License: GPLv2+
URL:
http://www.strongswan.org/
Source0:
http://download.strongswan.org/%{name}-%{version}%{?prerelease}.tar.bz2
+Patch1: strongswan-5.6.0-uintptr_t.patch
# only needed for pre-release versions
#BuildRequires: autoconf automake
@@ -25,7 +26,6 @@ BuildRequires: pam-devel
BuildRequires: json-c-devel
BuildRequires: libgcrypt-devel
BuildRequires: systemd-devel
-BuildRequires: gprbuild
BuildRequires: iptables-devel
BuildRequires: NetworkManager-devel
@@ -68,6 +68,7 @@ PT-TLS to support TNC over TLS.
%prep
%setup -q -n %{name}-%{version}%{?prerelease}
+%patch1 -p1
%build
# only for snapshots
@@ -76,6 +77,7 @@ PT-TLS to support TNC over TLS.
# --with-ipsecdir moves internal commands to /usr/libexec/strongswan
# --bindir moves 'pki' command to /usr/libexec/strongswan
# See:
http://wiki.strongswan.org/issues/552
+# too broken to enable: --enable-sha3 --enable-rdrand --enable-connmark
--enable-forecast
%configure --disable-static \
--with-ipsec-script=strongswan \
--sysconfdir=%{_sysconfdir}/strongswan \
@@ -95,9 +97,6 @@ PT-TLS to support TNC over TLS.
--enable-md4 \
--enable-gcrypt \
--enable-newhope \
- --enable-aesni \
- --enable-rdrand \
- --enable-sha3 \
--enable-xauth-eap \
--enable-xauth-pam \
--enable-xauth-noauth \
@@ -152,9 +151,10 @@ PT-TLS to support TNC over TLS.
--enable-aikgen \
--enable-vici \
--enable-swanctl \
- --enable-connmark \
- --enable-forecast \
--enable-duplicheck \
+%ifarch x86_64 %{ix86}
+ --enable-aesni \
+%endif
--enable-kernel-libipsec
make %{?_smp_mflags}