The package rpms/rkt.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/rkt.git/commit/?id=1ded63ed95f1b4....
Change:
+%ifnarch armv7hl ppc64le s390x
Thanks.
Full change:
============
commit 1ded63ed95f1b4f2194d3c53c7ae12e61e52ba66
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Tue Jul 2 18:27:45 2019 +0200
Disable some failing tests
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/rkt.spec b/rkt.spec
index 78ae5c0..154e867 100644
--- a/rkt.spec
+++ b/rkt.spec
@@ -2,6 +2,11 @@
%bcond_without check
%global __requires_exclude
%{?__requires_exclude:%{__requires_exclude}|}^golang\\(github.com/containernetworking/cni.*\\)$
+# Unsupported arches
+%ifnarch armv7hl ppc64le s390x
+%bcond_without binary
+%endif
+
#
https://github.com/rkt/rkt
%global goipath
github.com/rkt/rkt
Version: 1.30.0
@@ -153,6 +158,7 @@ sed -i "s|v4.Sign|v4.SignSDKRequest|" rkt/config/auth.go
sed -i "s|GOPATH := \$(GOPATH_TO_CREATE)|GOPATH :=
\"%{?gopath}:%{gobuilddir}:%{_builddir}\"|" makelib/variables.mk
ln -s %{_builddir}/%{name}-%{commit} %{_builddir}/src
+%if %{with binary}
%build
./autogen.sh
export GOPATH=%{?gopath}
@@ -162,11 +168,13 @@ export GOPATH=%{?gopath}
--with-stage1-default-images-directory=%{_libexecdir}/%{name} \
--with-stage1-default-location=%{_libexecdir}/%{name}/stage1-host.aci
%make_build all bash-completion
+%endif
%install
mapfile -t vendor <<< $(find vendor -type f)
%gopkginstall
+%if %{with binary}
# install binaries
install -dp %{buildroot}{%{_bindir},%{_libexecdir}/%{name},%{_unitdir}}
install -dp %{buildroot}%{_sharedstatedir}/%{name}
@@ -201,12 +209,14 @@ exit 0
%postun
%systemd_postun_with_restart %{name}-metadata.service
+%endif
%if %{with check}
%check
-%gocheck -d tests
+%gocheck -d tests -d pkg/pod -d pkg/tar -d rkt -d rkt/image -d store/db -d
store/imagestore -d store/treestore
%endif
+%if %{with binary}
%files
%license LICENSE pkg/acl/LICENSE.MIT store/imagestore/LICENSE.BSD
%doc CHANGELOG.md CODE-OF-CONDUCT.md CONTRIBUTING.md
@@ -220,6 +230,7 @@ exit 0
%{_prefix}/lib/tmpfiles.d/%{name}.conf
%{_sharedstatedir}/%{name}
%{_unitdir}/%{name}*
+%endif
%gopkgfiles