From eab6baa98b9f98a11396fde3c9b4d87db18c42e2 Mon Sep 17 00:00:00 2001 From: Honza HorĂ¡k Date: Apr 22 2013 15:13:01 +0000 Subject: Build with _hardened_build --- 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 5.5.31-2 +- Build with _hardened_build + * Fri Apr 19 2013 Honza Horak 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