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
|
||||
Name: %{repo}
|
||||
Version: 1.1.13
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: CLI for running Open Containers
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
|
||||
#ExclusiveArch: %%{go_arches}
|
||||
@ -31,7 +31,7 @@ License: ASL 2.0
|
||||
URL: %{git0}
|
||||
Source0: %{git0}/archive/v%{version}.tar.gz
|
||||
Provides: oci-runtime
|
||||
BuildRequires: golang >= 1.20.10
|
||||
BuildRequires: golang >= 1.22.4
|
||||
BuildRequires: git
|
||||
BuildRequires: /usr/bin/go-md2man
|
||||
BuildRequires: libseccomp-devel >= 2.5
|
||||
@ -60,7 +60,7 @@ pushd GOPATH/src/%{import_path}
|
||||
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 runc_dmz_selinux_nocompat"
|
||||
export BUILDTAGS="selinux seccomp runc_dmz_selinux_nocompat no_openssl"
|
||||
export LDFLAGS="-X main.gitCommit= -X main.version=%{version}"
|
||||
%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}
|
||||
|
||||
%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
|
||||
- rebuild
|
||||
- Resolves: RHEL-46380
|
||||
|
Loading…
Reference in New Issue
Block a user