[Canna] Built with PIE enabled. (Dhiru Kholia, #955179)

Akira TAGOH tagoh at fedoraproject.org
Mon Jun 3 03:20:38 UTC 2013


commit 9062db8c6c0a2a0d25b6ff76a5c9c1f14785a890
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Mon Jun 3 12:20:26 2013 +0900

    Built with PIE enabled. (Dhiru Kholia, #955179)

 Canna.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/Canna.spec b/Canna.spec
index e7cd0c1..e7ea3fc 100644
--- a/Canna.spec
+++ b/Canna.spec
@@ -5,12 +5,12 @@
 %global username      canna
 %global homedir       %{_localstatedir}/lib/%{username}
 %global gecos         Canna Service User
-
+%global _hardened_build 1
 
 Summary: A Japanese character set input system.
 Name: Canna
 Version: 3.7p3
-Release: 38%{?dist}
+Release: 39%{?dist}
 # lib/RKindep/cksum.c is licensed under 4-clause BSD, otherwise MIT.
 License: MIT and BSD with advertising
 Group: System Environment/Libraries
@@ -126,6 +126,8 @@ cat $RPM_BUILD_DIR/Canna-%{version}/pubdic-bonobo/*.p | sort >> \
 find $RPM_BUILD_DIR/%{name}-%{version} -name .cvsignore -exec rm -f {} \;
 
 %build
+export RPM_OPT_FLAGS="$RPM_OPT_FLAGS %{__global_ldflags}"
+
 function builddic() {
   dic=$1
   dicname=`echo $dic | sed -e 's/\(.*\)\..*\$/\1/'`
@@ -332,6 +334,9 @@ fi
 %{_libdir}/libcanna16.so.*
 
 %changelog
+* Mon Jun  3 2013 Akira TAGOH <tagoh at redhat.com> - 3.7p3-39
+- Built with PIE enabled. (Dhiru Kholia, #955179)
+
 * Tue Mar 26 2013 Akira TAGOH <tagoh at redhat.com> - 3.7p3-38
 - Rebuilt for aarch64 support (#925129)
 
@@ -668,7 +673,7 @@ fi
 - Added patch by Ishikawa to make cannaserver listen only on a unix domain
   socket by default (#33420) and create "/var/lib/canna/cannahost" to help
   kinput2 find it.
-- Added fix from Ishikawa for "typo" in malloc call in lib/RK/dd.c. 
+- Added fix from Ishikawa for "typo" in malloc call in lib/RK/dd.c.
 
 * Tue Aug  9 2001 Yukihiro Nakai <ynakai at redhat.com> - 3.5b2-44
 - Off the S bit (#13135)
@@ -750,7 +755,7 @@ fi
 - rebuilt for RedHat 7.0.
 - man directory ja_JP.UJIS -> ja
 - Canna-3.5b2.conf.patch modified to install manpages to /usr/share/man
-- remove Canna-3.5b2-fhs.patch to install manpages to /usr/share/man 
+- remove Canna-3.5b2-fhs.patch to install manpages to /usr/share/man
 
 * Tue Jul 18 2000 Nalin Dahyabhai <nalin at redhat.com>
 - fix syntax error in postun


More information about the scm-commits mailing list