The package rpms/caddy.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/caddy.git/commit/?id=c9e0c5d934b6....
Change:
+ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aarch64
%{power64} s390x %{mips}}
Thanks.
Full change:
============
commit 0e791f4b5f66e682a79ee25ab8dee9bd19f711a4
Author: Carl George <carl(a)george.computer>
Date: Mon Apr 16 19:19:12 2018 -0500
Disable googlecloud and route53 dns providers on EL7 due to dependency issues
diff --git a/caddy.spec b/caddy.spec
index f6dfe51..b0f8cea 100644
--- a/caddy.spec
+++ b/caddy.spec
@@ -4,12 +4,20 @@
%bcond_without digitalocean
%bcond_without dyn
%bcond_without gandi
-%bcond_without googlecloud
%bcond_without namecheap
%bcond_without powerdns
%bcond_without rackspace
%bcond_without rfc2136
+
+%if 0%{?rhel} == 7
+#
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-098bd3de3f
+%bcond_with googlecloud
+#
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-95fd015610
+%bcond_with route53
+%else
+%bcond_without googlecloud
%bcond_without route53
+%endif
%bcond_with debug
@@ -262,6 +270,7 @@ fi
%changelog
* Mon Apr 16 2018 Carl George <carl(a)george.computer> - 0.10.11-3
- Enable s390x
+- Disable googlecloud and route53 dns providers on EL7 due to dependency issues
* Fri Mar 30 2018 Carl George <carl(a)george.computer> - 0.10.11-2
- Add googlecloud dns provider
commit c9e0c5d934b60a1efda38c30af9d0168ef4aaa82
Author: Carl George <carl(a)george.computer>
Date: Mon Apr 16 19:18:31 2018 -0500
Enable s390x
diff --git a/caddy.spec b/caddy.spec
index b23c9d7..f6dfe51 100644
--- a/caddy.spec
+++ b/caddy.spec
@@ -25,13 +25,11 @@
Name: caddy
Version: 0.10.11
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: HTTP/2 web server with automatic HTTPS
License: ASL 2.0 and MIT
URL:
https://caddyserver.com
-#ExclusiveArch: %%{go_arches}
-# fails to build on s390x
-ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le
+ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aarch64
%{power64} s390x %{mips}}
# caddy
%global import_path
github.com/mholt/caddy
@@ -156,6 +154,10 @@ package is an unofficial build with the following plugins:
%prep
%autosetup
+#
https://github.com/lucas-clemente/aes12/commit/2278c3bb5d33bb2676838161c8...
+sed -e '/^\/\/ +build/ s|,!s390x||' \
+ -i
vendor/github.com/lucas-clemente/aes12/cipher_generic.go
+
%if %{with realip}
mkdir -p vendor/%{import_path_realip}
tar -C vendor/%{import_path_realip} --strip-components 1 -x -f %{S:1}
@@ -258,6 +260,9 @@ fi
%changelog
+* Mon Apr 16 2018 Carl George <carl(a)george.computer> - 0.10.11-3
+- Enable s390x
+
* Fri Mar 30 2018 Carl George <carl(a)george.computer> - 0.10.11-2
- Add googlecloud dns provider
- Add route53 dns provider