This commit is contained in:
Till Maas 2017-06-27 01:03:12 +02:00
parent ab3ea1ba80
commit 05e0f8e8e2

View File

@ -35,7 +35,7 @@ Name: %{repo}
Epoch: 1 Epoch: 1
%endif %endif
Version: 1.0.0 Version: 1.0.0
Release: 8.git%{shortcommit0}%{?dist}.1 Release: 9.git%{shortcommit0}%{?dist}
Summary: CLI for running Open Containers Summary: CLI for running Open Containers
License: ASL 2.0 License: ASL 2.0
URL: %{git0} URL: %{git0}
@ -43,7 +43,7 @@ Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required # e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
#ExclusiveArch: %%{?go_arches:%%{go_arches}}%%{!?go_arches:%%{ix86} x86_64 %{arm}} #ExclusiveArch: %%{?go_arches:%%{go_arches}}%%{!?go_arches:%%{ix86} x86_64 %{arm}}
ExclusiveArch: x86_64 %{arm} aarch64 ppc64le %{mips} s390x ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le %{mips} s390x
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. # 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} BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
BuildRequires: git BuildRequires: git
@ -70,7 +70,9 @@ BuildRequires: golang(github.com/vishvananda/netlink)
BuildRequires: golang(github.com/vishvananda/netlink/nl) BuildRequires: golang(github.com/vishvananda/netlink/nl)
%endif %endif
Requires: criu %ifnarch s390x
Recommends: criu
%endif
%description %description
The runc command can be used to start containers which are packaged The runc command can be used to start containers which are packaged
@ -292,6 +294,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif %endif
%changelog %changelog
* Tue Jun 27 2017 Till Maas <opensource@till.name> - 1.0.0-9.git6394544
- Just make the criu dependency optional (https://bugzilla.redhat.com/show_bug.cgi?id=1460148)
* Tue Jun 27 2017 Till Maas <opensource@till.name> - 1.0.0-8.git6394544.1 * Tue Jun 27 2017 Till Maas <opensource@till.name> - 1.0.0-8.git6394544.1
- Do not build for ix86: there is no criu on ix86 - Do not build for ix86: there is no criu on ix86