[weechat/el5] Enable _hardened_build

Jamie Nguyen jamielinux at fedoraproject.org
Sat Mar 30 07:58:02 UTC 2013


commit c6ffe697e483c01003c3ada90aa071a746dcee90
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sat Mar 30 07:57:42 2013 +0000

    Enable _hardened_build

 weechat-0.4.0-pie.patch |   67 -----------------------------------------------
 weechat.spec            |   12 +++++---
 2 files changed, 8 insertions(+), 71 deletions(-)
---
diff --git a/weechat.spec b/weechat.spec
index ba76b08..2371b34 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -1,10 +1,11 @@
+%global _hardened_build 1
+
 Name:      weechat
 Summary:   Portable, fast, light and extensible IRC client
 Version:   0.4.0
-Release:   2%{?dist}
+Release:   3%{?dist}
 Source:    http://weechat.org/files/src/%{name}-%{version}.tar.bz2
-Patch0:    weechat-0.4.0-pie.patch
-Patch1:    weechat-0.4.0-enchant.patch
+Patch0:    weechat-0.4.0-enchant.patch
 URL:       http://weechat.org
 Group:     Applications/Communications
 License:   GPLv3
@@ -41,7 +42,6 @@ This package contains include files and pc file for weechat.
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %build
 mkdir build
@@ -83,6 +83,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Sat Mar 30 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.0-3
+- enable _hardened_build as weechat matches the "long running" criteria
+- remove redundant PIE patch
+
 * Tue Jan 22 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.0-2
 - reimplement enchant support as a separate patch
 - implement additional enchant support for displaying spelling suggestions


More information about the scm-commits mailing list