runc-1.1.13-3.el9
- rebuild against golang-1.22.4 - Resolves: RHEL-46380 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
e60b0240ee
commit
d9aefa2d19
10
runc.spec
10
runc.spec
@ -20,7 +20,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
|
|||||||
Epoch: 4
|
Epoch: 4
|
||||||
Name: %{repo}
|
Name: %{repo}
|
||||||
Version: 1.1.13
|
Version: 1.1.13
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: CLI for running Open Containers
|
Summary: CLI for running Open Containers
|
||||||
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
|
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
|
||||||
#ExclusiveArch: %%{go_arches}
|
#ExclusiveArch: %%{go_arches}
|
||||||
@ -31,7 +31,7 @@ License: ASL 2.0
|
|||||||
URL: %{git0}
|
URL: %{git0}
|
||||||
Source0: %{git0}/archive/v%{version}.tar.gz
|
Source0: %{git0}/archive/v%{version}.tar.gz
|
||||||
Provides: oci-runtime
|
Provides: oci-runtime
|
||||||
BuildRequires: golang >= 1.20.10
|
BuildRequires: golang >= 1.22.4
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: /usr/bin/go-md2man
|
BuildRequires: /usr/bin/go-md2man
|
||||||
BuildRequires: libseccomp-devel >= 2.5
|
BuildRequires: libseccomp-devel >= 2.5
|
||||||
@ -60,7 +60,7 @@ pushd GOPATH/src/%{import_path}
|
|||||||
export GO111MODULE=off
|
export GO111MODULE=off
|
||||||
export GOPATH=%{gopath}:$(pwd)/GOPATH
|
export GOPATH=%{gopath}:$(pwd)/GOPATH
|
||||||
export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
export BUILDTAGS="selinux seccomp runc_dmz_selinux_nocompat"
|
export BUILDTAGS="selinux seccomp runc_dmz_selinux_nocompat no_openssl"
|
||||||
export LDFLAGS="-X main.gitCommit= -X main.version=%{version}"
|
export LDFLAGS="-X main.gitCommit= -X main.version=%{version}"
|
||||||
%gobuild -o %{name} %{import_path}
|
%gobuild -o %{name} %{import_path}
|
||||||
|
|
||||||
@ -84,6 +84,10 @@ make install install-man install-bash DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
|
|||||||
%{_datadir}/bash-completion/completions/%{name}
|
%{_datadir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 12 2024 Jindrich Novy <jnovy@redhat.com> - 4:1.1.13-3
|
||||||
|
- rebuild against golang-1.22.4
|
||||||
|
- Resolves: RHEL-46380
|
||||||
|
|
||||||
* Mon Jul 08 2024 Jindrich Novy <jnovy@redhat.com> - 4:1.1.13-2
|
* Mon Jul 08 2024 Jindrich Novy <jnovy@redhat.com> - 4:1.1.13-2
|
||||||
- rebuild
|
- rebuild
|
||||||
- Resolves: RHEL-46380
|
- Resolves: RHEL-46380
|
||||||
|
Loading…
Reference in New Issue
Block a user