diff --git a/runc.spec b/runc.spec index 5011066..cc5d967 100644 --- a/runc.spec +++ b/runc.spec @@ -22,7 +22,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl Name: %{repo} Version: 1.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: CLI for running Open Containers # https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures #ExclusiveArch: %%{go_arches} @@ -62,6 +62,7 @@ export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_ export BUILDTAGS="selinux seccomp" export COMMIT="" make +%gobuild -o %{name} %{import_path} pushd man ./md2man-all.sh @@ -83,6 +84,10 @@ make install install-man install-bash DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} %{_datadir}/bash-completion/completions/%{name} %changelog +* Mon Jul 26 2021 Jindrich Novy - 1.0.1-3 +- be sure to compile runc binaries the right way +- Related: #1970747 + * Mon Jul 26 2021 Jindrich Novy - 1.0.1-2 - use Makefile - Related: #1970747