Build with _hardened_build

This commit is contained in:
Honza Horák 2013-04-22 17:13:01 +02:00
parent e80059ea66
commit eab6baa98b

View File

@ -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@redhat.com> 5.5.31-2
- Build with _hardened_build
* Fri Apr 19 2013 Honza Horak <hhorak@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