CLI for running Open Containers
551b3f2127b7264b34db76ca5b550921e27eb3a4..7a00d6a9d4bc07323e1968d55bc01e1fcd3bf672
2018-11-30 Johnny Hughes
Manual CentOS Debranding
7a00d6 diff | tree
2018-11-30 CentOS Sources
import runc-1.0.0-57.dev.git2abd837.el7
862d2f diff | tree
1 files modified
36 ■■■■■ changed files
SPECS/runc.spec 36 ●●●●● patch | view | raw | blame | history
SPECS/runc.spec
@@ -12,7 +12,8 @@
%endif
%if ! 0%{?gobuild:1}
%define gobuild(o:) go build -buildmode=pie -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -tags "$BUILDTAGS" -a -v -x %{?**};
%define gobuild(o:) \
scl enable go-toolset-1.10 -- go build -buildmode pie -compiler gc -tags="rpm_crashtraceback no_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**};
%endif
%global provider        github
@@ -28,7 +29,7 @@
Name: %{repo}
Version: 1.0.0
Release: 54.dev.git%{shortcommit0}%{?dist}
Release: 57.dev.git%{shortcommit0}%{?dist}
Summary: CLI for running Open Containers
License: ASL 2.0
URL: http//%{provider_prefix}
@@ -37,20 +38,21 @@
Patch0: change-default-root.patch
Patch1: 0001-Revert-Apply-cgroups-earlier.patch
Patch2: 1807.patch
%ifnarch %{ix86}
%ifnarch i686
Requires: criu
%endif
Requires(pre): container-selinux >= 2:2.2-2
ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64
ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64 %ix86}
# 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} >= 1.6.2
BuildRequires: go-toolset-7-golang-bin
BuildRequires: go-toolset-7-runtime
%if 0%{?fedora}
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
%else
BuildRequires: go-toolset-1.10
BuildRequires: openssl-devel
%endif #fedora
BuildRequires: git
BuildRequires: go-md2man
BuildRequires: libseccomp-devel
BuildRequires: openssl-devel
%if ! 0%{?with_bundled}
BuildRequires: golang(github.com/Sirupsen/logrus)
@@ -176,8 +178,8 @@
export GOPATH=$(pwd)/GOPATH
export BUILDTAGS='selinux seccomp'
GOPATH=$GOPATH %gobuild -o %{name} %{import_path}
GOPATH=$GOPATH %gobuild -o recvtty %{import_path}/contrib/cmd/recvtty
%gobuild -o %{name} %{import_path}
%gobuild -o recvtty %{import_path}/contrib/cmd/recvtty
pushd man
./md2man-all.sh
@@ -289,6 +291,18 @@
%endif
%changelog
* Fri Nov 30 2018 Johnny Hughes <johnny@centos.org> - 1.0.0-57.dev.git2abd837
- Manual CentOS Debranding
* Wed Nov 28 2018 Lokesh Mandvekar <lsm5@redhat.com> - 1.0.0-57.dev.git2abd837
- Resolves: #1650512 - build with the right golang dependency
* Wed Nov 21 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0-56.dev.git2abd837
- openssl-devel required only with scl go toolset
* Thu Nov 08 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0-55.dev.git2abd837
- buildrequires for centos
* Wed Sep 26 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0-54.dev.git2abd837
- 1807.patch added