The package rpms/podman.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/podman.git/commit/?id=d2cf6698ac2....
Change:
+%ifarch x86_64
Thanks.
Full change:
============
commit 91e8d6293deb50597f0aff77dcbf987e401caff5
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Fri Dec 4 12:44:34 2020 -0500
podman-2:3.0.0-0.22.dev.gitf01630a
- make both checksec and koji happy
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/podman.spec b/podman.spec
index 07c5b90..ea09dff 100644
--- a/podman.spec
+++ b/podman.spec
@@ -56,7 +56,7 @@ Version: 3.0.0
# N.foo if released, 0.N.foo if unreleased
# Rawhide almost always ships unreleased builds,
# so release tag should be of the form 0.N.foo
-Release: 0.21.dev.git%{shortcommit0}%{?dist}
+Release: 0.22.dev.git%{shortcommit0}%{?dist}
Summary: Manage Pods, Containers and Container Images
License: ASL 2.0
URL: https://%{name}.io/
@@ -630,6 +630,9 @@ exit 0
# rhcontainerbot account currently managed by lsm5
%changelog
+* Fri Dec 4 2020 Lokesh Mandvekar <lsm5(a)fedoraproject.org> -
2:3.0.0-0.22.dev.gitf01630a
+- make both checksec and koji happy
+
* Fri Dec 4 2020 RH Container Bot <rhcontainerbot(a)fedoraproject.org> -
2:3.0.0-0.21.dev.gitf01630a
- autobuilt f01630a
commit d2cf6698ac221f04ee580570d221faa4c6f15472
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Fri Dec 4 12:30:36 2020 -0500
adjust CGO_CFLAGS to make both koji and checksec happy
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/podman.spec b/podman.spec
index 48aeb78..07c5b90 100644
--- a/podman.spec
+++ b/podman.spec
@@ -418,8 +418,11 @@ tar zxf %{SOURCE1}
%build
export GO111MODULE=off
export GOPATH=$(pwd)/_build:$(pwd)
-export CGO_CFLAGS="-O2 -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64
-mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
-# These extra flags present in %%{optflags} skipped for now as they break the build
+export CGO_CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -ffat-lto-objects
-fexceptions -fasynchronous-unwind-tables -fstack-protector-strong
-fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64'
+%ifarch x86_64
+export CGO_CFLAGS="$CGO_CFLAGS -m64 -mtune=generic -fcf-protection"
+%endif
+# These extra flags present in %%{optflags} have been skipped for now as they break the
build
#export CGO_CFLAGS="$CGO_CFLAGS -flto=auto -Wp,D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1"
mkdir _build