The package rpms/skopeo.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/skopeo.git/commit/?id=d46e8d93eb9....
Change:
+%ifarch x86_64 && 0%{?centos} >= 8
Thanks.
Full change:
============
commit d46e8d93eb96d3c5af805f857ee37625224bf217
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Tue Dec 15 14:44:59 2020 -0500
skopeo-1:1.2.0-14
- no fcf-protection for centos7
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
(cherry picked from commit 21195e9a4fdd0fab5f504cd78f123b7cedbe58fa)
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/skopeo.spec b/skopeo.spec
index 445ff47..7f2b85a 100644
--- a/skopeo.spec
+++ b/skopeo.spec
@@ -50,7 +50,7 @@ ExcludeArch: ppc64
Name: %{repo}
Epoch: %{conditional_epoch}
Version: 1.2.0
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Inspect container images and repositories on registries
License: ASL 2.0
URL: %{git0}
@@ -300,7 +300,7 @@ mkdir -p
src/github.com/containers
ln -s ../../../ src/%{import_path}
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
+%ifarch x86_64 && 0%{?centos} >= 8
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
@@ -466,6 +466,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_datadir}/%{name}/test
%changelog
+* Tue Dec 15 2020 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 1:1.2.0-14
+- no fcf-protection for centos7
+
* Thu Dec 10 2020 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 1:1.2.0-13
- harden cgo based golang binaries
- Reported-by: Wade Mealing <wmealing(a)gmail.com>