From 41042c4d2e67432e6019f0ba76068143e895d21e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 09 2021 09:48:44 +0000 Subject: import runc-1.0.2-1.module+el8.5.0+12582+56d94c81 --- diff --git a/.gitignore b/.gitignore index d7c4a2d..882d68a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/v1.0.0-rc95.tar.gz +SOURCES/v1.0.2.tar.gz diff --git a/.runc.metadata b/.runc.metadata index 3f0f3fc..ed58c0a 100644 --- a/.runc.metadata +++ b/.runc.metadata @@ -1 +1 @@ -23f05a9f1ae2907117385a48f1a464608fd75d30 SOURCES/v1.0.0-rc95.tar.gz +3a0bb2a9506981b5a2204fb1591afc827ecaeb45 SOURCES/v1.0.2.tar.gz diff --git a/SPECS/runc.spec b/SPECS/runc.spec index ba36e15..95eaeba 100644 --- a/SPECS/runc.spec +++ b/SPECS/runc.spec @@ -19,11 +19,10 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl # https://github.com/opencontainers/runc %global import_path %{provider}.%{provider_tld}/%{project}/%{repo} %global git0 https://%{import_path} -%global release_candidate rc95 Name: %{repo} -Version: 1.0.0 -Release: 74.%{release_candidate}%{?dist} +Version: 1.0.2 +Release: 1%{?dist} Summary: CLI for running Open Containers # https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures #ExclusiveArch: %%{go_arches} @@ -32,8 +31,8 @@ Summary: CLI for running Open Containers ExcludeArch: %{ix86} License: ASL 2.0 URL: %{git0} -Source0: %{git0}/archive/v1.0.0-%{release_candidate}.tar.gz -Provides: oci-runtime = 1 +Source0: %{git0}/archive/v%{version}.tar.gz +Provides: oci-runtime BuildRequires: golang >= 1.12.12-4 BuildRequires: git BuildRequires: go-md2man @@ -46,7 +45,7 @@ in accordance with the Open Container Initiative's specifications, and to manage containers running under runc. %prep -%autosetup -Sgit -n %{repo}-%{version}-%{release_candidate} +%autosetup -Sgit sed -i '/\#\!\/bin\/bash/d' contrib/completions/bash/%{name} %build @@ -61,6 +60,7 @@ export GO111MODULE=off export GOPATH=%{gopath}:$(pwd)/GOPATH export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" export BUILDTAGS="selinux seccomp" +export LDFLAGS="-X main.gitCommit= -X main.version=%{version}" %gobuild -o %{name} %{import_path} pushd man @@ -68,15 +68,7 @@ pushd man popd %install -install -d -p %{buildroot}%{_bindir} -install -p -m 755 %{name} %{buildroot}%{_bindir} - -# install man pages -install -d -p %{buildroot}%{_mandir}/man8 -install -p -m 644 man/man8/* %{buildroot}%{_mandir}/man8 -# install bash completion -install -d -p %{buildroot}%{_datadir}/bash-completion/completions -install -p -m 0644 contrib/completions/bash/%{name} %{buildroot}%{_datadir}/bash-completion/completions +make install install-man install-bash DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} LIBDIR=%{_libdir} BINDIR=%{_bindir} %check @@ -91,21 +83,53 @@ install -p -m 0644 contrib/completions/bash/%{name} %{buildroot}%{_datadir}/bash %{_datadir}/bash-completion/completions/%{name} %changelog -* Thu Jul 01 2021 Jindrich Novy - 1.0.0-74.rc95 +* Wed Aug 25 2021 Jindrich Novy - 1.0.2-1 +- update to https://github.com/opencontainers/runc/releases/tag/v1.0.2 +- Related: #1934415 + +* Fri Aug 06 2021 Jindrich Novy - 1.0.1-5 +- do not use versioned provide +- Related: #1934415 + +* Thu Jul 29 2021 Jindrich Novy - 1.0.1-4 +- fix "unknown version" displayed by runc -v +- Related: #1934415 + +* Mon Jul 26 2021 Jindrich Novy - 1.0.1-3 +- be sure to compile runc binaries the right way +- Related: #1934415 + +* Mon Jul 26 2021 Jindrich Novy - 1.0.1-2 +- use Makefile +- Related: #1934415 + +* Wed Jul 21 2021 Jindrich Novy - 1.0.1-1 +- update to https://github.com/opencontainers/runc/releases/tag/v1.0.1 +- Related: #1934415 + +* Thu May 20 2021 Jindrich Novy - 1.0.0-76.rc95 - updated to rc95 to fix CVE-2021-30465 -- Related: #1954702 +- Related: #1934415 -* Thu May 13 2021 Jindrich Novy - 1.0.0-73.rc93 -- fix "podman run --pid=host command causes OCI permission error" -- Related: #1954702 +* Tue May 18 2021 Jindrich Novy - 1.0.0-75.rc94 +- set GO111MODULE=off to fix build +- Related: #1934415 -* Tue May 11 2021 Jindrich Novy - 1.0.0-72.rc93 +* Fri May 14 2021 Jindrich Novy - 1.0.0-74.rc94 +- update to https://github.com/opencontainers/runc/releases/tag/v1.0.0-rc94 +- Related: #1934415 + +* Tue May 11 2021 Jindrich Novy - 1.0.0-73.rc93 - fix CVE-2021-30465 -- Related: #1954702 +- Related: #1934415 -* Thu Apr 29 2021 Jindrich Novy - 1.0.0-71.rc93 +* Tue Mar 30 2021 Jindrich Novy - 1.0.0-72.rc93 - upload rc93 tarball -- Related: #1954702 +- Related: #1934415 + +* Tue Mar 30 2021 Jindrich Novy - 1.0.0-71.rc93 +- update to rc93 +- Related: #1934415 * Fri Jan 29 2021 Jindrich Novy - 1.0.0-70.rc92 - add missing Provides: oci-runtime = 1