diff --git a/macros b/macros index b67ce89..d65278f 100644 --- a/macros +++ b/macros @@ -153,6 +153,7 @@ # Harden packages by default for Fedora 23: # https://fedorahosted.org/fesco/ticket/1384 (accepted on 2014-02-11) +# Use "%undefine _hardened_build" to disable. %_hardened_build 1 %_hardened_cflags %{?_hardened_build:%{_hardening_cflags}} %_hardened_ldflags %{?_hardened_build:%{_hardening_ldflags}} @@ -161,6 +162,7 @@ # Add extra information to binary objects created by gcc for Fedora 28: # https://pagure.io/fesco/issue/1780 (accepted on 2017-10-30) +# Use "%undefine _annotated_build" to disable. %_annotated_build 1 %_annotated_cflags %{?_annotated_build:%{_annobin_cflags}} diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 7d21607..a9a9c28 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -6,7 +6,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config -Version: 78 +Version: 79 Release: 1%{?dist} # No version specified. License: GPL+ @@ -153,6 +153,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Fri Jan 19 2018 Panu Matilainen - 79-1 +- Document how to disable hardened and annotated build (#1211296) + * Wed Jan 17 2018 Panu Matilainen - 78-1 - Fix the inevitable embarrassing typo in 77, doh