[nspluginwrapper] Fixes rhbz#965534 - nspluginwrapper package should be built with PIE flags

Martin Stransky stransky at fedoraproject.org
Tue May 28 21:24:57 UTC 2013


commit 561f4fcfe0675125a45377b08148d3f9fe1fe1ca
Author: Martin Stransky <stransky at anakreon.cz>
Date:   Tue May 28 23:24:47 2013 +0200

    Fixes rhbz#965534 - nspluginwrapper package should be built with PIE flags

 nspluginwrapper.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/nspluginwrapper.spec b/nspluginwrapper.spec
index 1b05b34..57c99e1 100644
--- a/nspluginwrapper.spec
+++ b/nspluginwrapper.spec
@@ -1,3 +1,4 @@
+%global _hardened_build 1
 %define _default_patch_fuzz 2
 
 # Compile as a debug package
@@ -85,7 +86,7 @@
 Summary:	A compatibility layer for Netscape 4 plugins
 Name:		nspluginwrapper
 Version:	1.4.4
-Release:	17%{?dist}
+Release:	18%{?dist}
 License:	GPLv2+
 Group:		Applications/Internet
 Url:		http://gwenole.beauchesne.info/projects/nspluginwrapper/
@@ -176,6 +177,7 @@ popd
 %else
     export LDFLAGS="-L%{libdir32} -ldl"
 %endif
+export LDFLAGS="$LDFLAGS -z now"
 
 mkdir %{build_dir}
 pushd %{build_dir}
@@ -267,6 +269,9 @@ fi;
 
 
 %changelog
+* Tue May 28 2013 Martin Stransky <stransky at redhat.com> 1.4.4-18
+- Fixed rhbz#965534 - nspluginwrapper package should be built with PIE flags
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.4-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list