The package rpms/containernetworking-cni.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/containernetworking-cni.git/commi....
Change:
+ExcludeArch: ppc64
Thanks.
Full change:
============
commit 24a9f7d52067196ce8e67cb53a082a26aa785de8
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Fri Jul 14 10:51:15 2017 -0400
container-networking-0.5.2-3
- excludearch: ppc64 as it's not in goarches anymore
- re-enable s390x
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/containernetworking-cni.spec b/containernetworking-cni.spec
index 5ea38f6..e9c1652 100644
--- a/containernetworking-cni.spec
+++ b/containernetworking-cni.spec
@@ -32,21 +32,14 @@
%global commit dcf7368eeab15e2affc6256f0bb1e84dd46a34de
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-####################################
Name: containernetworking-cni
Version: 0.5.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Libraries for writing CNI plugin
License: ASL 2.0
URL: https://%{provider_prefix}
Source0:
https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-####################################
-#ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
-# Fails to build on s390x rhbz#1466865
-ExcludeArch: s390x
-
-###################################
+ExcludeArch: ppc64
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
@@ -71,7 +64,6 @@ containers, along with a number of supported plugins. CNI concerns
itself
only with network connectivity of containers and removing allocated resources
when the container is deleted.
-####################################
%if 0%{?with_devel}
%package devel
Summary: %{summary}
@@ -116,7 +108,6 @@ building other packages which use import path with
%{import_path} prefix.
%endif
-####################################
%if 0%{?with_unit_test} && 0%{?with_devel}
%package unit-test-devel
Summary: Unit tests for %{name} package
@@ -149,17 +140,13 @@ Requires:
golang(github.com/vishvananda/netlink/nl)
This package contains unit tests for project
providing packages with %{import_path} prefix.
%endif
-####################################
-###################
%prep
%setup -q -n %{repo}-%{commit}
-###################
%build
./build.sh
-###################
%install
install -d -p %{buildroot}%{_libexecdir}/cni/
install -p -m 0755 bin/* %{buildroot}/%{_libexecdir}/cni
@@ -221,7 +208,6 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%global gotest go test
%endif
-###################
%gotest %{import_path}/libcni
%gotest %{import_path}/pkg/invoke
%gotest %{import_path}/pkg/ip
@@ -251,12 +237,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-###################
%post
mkdir -p /opt/cni/bin
ln -sf /usr/libexec/cni/* /opt/cni/bin
-####################################
%files
%license LICENSE
%doc *.md
@@ -275,7 +259,6 @@ ln -sf /usr/libexec/cni/* /opt/cni/bin
%ghost %dir /opt/cni/
-####################################
%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
@@ -283,15 +266,17 @@ ln -sf /usr/libexec/cni/* /opt/cni/bin
%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
%endif
-####################################
%if 0%{?with_unit_test} && 0%{?with_devel}
%files unit-test-devel -f unit-test-devel.file-list
%license LICENSE
%doc README.md CONVENTIONS.md SPEC.md CONTRIBUTING.md ROADMAP.md
%endif
-####################################
%changelog
+* Thu Jul 13 2017 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0.5.2-3
+- excludearch: ppc64 as it's not in goarches anymore
+- re-enable s390x
+
* Fri Jun 30 2017 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 0.5.2-2
- upstream moved to
github.com/containernetworking/plugins
- built commit dcf7368