[community-mysql] Build with _hardened_build

Honza Horak hhorak at fedoraproject.org
Mon Apr 22 15:15:34 UTC 2013


commit eab6baa98b9f98a11396fde3c9b4d87db18c42e2
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Mon Apr 22 17:13:01 2013 +0200

    Build with _hardened_build

 community-mysql.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/community-mysql.spec b/community-mysql.spec
index 6b14c33..10c62f5 100644
--- a/community-mysql.spec
+++ b/community-mysql.spec
@@ -1,6 +1,6 @@
 Name: community-mysql
 Version: 5.5.31
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 Summary: MySQL client programs and shared libraries
 Group: Applications/Databases
@@ -14,6 +14,9 @@ License: GPLv2 with exceptions and LGPLv2 and BSD
 # Regression tests take a long time, you can skip 'em with this
 %{!?runselftest:%global runselftest 1}
 
+# Build with -fPIE and -z now
+%global _hardened_build 1
+
 # Upstream has a mirror redirector for downloads, so the URL is hard to
 # represent statically.  You can get the tarball by following a link from
 # http://dev.mysql.com/downloads/mysql/
@@ -696,6 +699,9 @@ install -m 0644 mysql-test/rh-skipped-tests.list ${RPM_BUILD_ROOT}%{_datadir}/my
 %{_mandir}/man1/mysql_client_test.1*
 
 %changelog
+* Mon Apr 22 2013 Honza Horak <hhorak at redhat.com> 5.5.31-2
+- Build with _hardened_build
+
 * Fri Apr 19 2013 Honza Horak <hhorak at redhat.com> 5.5.31-1
 - Update to MySQL 5.5.31, for various fixes described at
   http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-31.html


More information about the scm-commits mailing list