From fe852db4a49733de8c599a3f405fde028f6e46f2 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Feb 24 2018 19:26:10 +0000 Subject: Reenable hardened build The static linking issue has been fixed with an addition to the GCC specs file in redhat-rpm-config-54-1. --- diff --git a/supermin.spec b/supermin.spec index c4dec25..bd5a8bc 100644 --- a/supermin.spec +++ b/supermin.spec @@ -3,11 +3,6 @@ %global debug_package %{nil} %endif -# _hardened_build breaks building the static 'init' binary. -# https://bugzilla.redhat.com/show_bug.cgi?id=1202091 -# https://bugzilla.redhat.com/show_bug.cgi?id=1204162 -%undefine _hardened_build - # On architectures that support it, the default is ``--with dietlibc''. # # To use glibc-static instead, do ``--without dietlibc''. This @@ -31,7 +26,7 @@ Summary: Tool for creating supermin appliances Name: supermin Version: 5.1.19 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ %if 0%{?rhel} >= 7 @@ -173,6 +168,9 @@ make check || { %changelog +* Sat Feb 24 2018 Florian Weimer - 5.1.19-4 +- Reenable hardened build + * Tue Feb 13 2018 Richard W.M. Jones - 5.1.19-3 - Fix bytes/string problems.