[vte3] Enable verbose build

Tomas Bzatek tbzatek at fedoraproject.org
Thu Jan 31 15:53:28 UTC 2013


commit 669b673d7668c16d1e0652bf888378585f4d8cf0
Author: Tomas Bzatek <tbzatek at redhat.com>
Date:   Thu Jan 31 16:53:06 2013 +0100

    Enable verbose build
    
    - Build with full RELRO and PIE for sgid gnome-pty-helper

 vte3.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/vte3.spec b/vte3.spec
index ef749e3..5b5e817 100644
--- a/vte3.spec
+++ b/vte3.spec
@@ -1,6 +1,6 @@
 Name: vte3
 Version: 0.34.2
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: A terminal emulator
 License: LGPLv2+
 Group: User Interface/X
@@ -48,6 +48,9 @@ vte.
 %patch3 -p1 -b .VteCharAttributes_introspectable
 
 %build
+CFLAGS="%optflags -fPIE -DPIE" \
+CXXFLAGS="$CFLAGS" \
+LDFLAGS="$LDFLAGS -Wl,-z,relro -Wl,-z,now -pie" \
 %configure \
         --enable-shared \
         --disable-static \
@@ -56,7 +59,7 @@ vte.
         --without-glX \
         --disable-gtk-doc \
         --enable-introspection
-make
+make V=1
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
@@ -90,6 +93,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 
 %changelog
+* Thu Jan 31 2013 Tomas Bzatek <tbzatek at redhat.com> - 0.34.2-4
+- Enable verbose build
+- Build with full RELRO and PIE for sgid gnome-pty-helper
+
 * Thu Nov 29 2012 Peter Robinson <pbrobinson at fedoraproject.org> 0.34.2-3
 - Add patch to fix an introspection issue. Fixes RHBZ #881662
 


More information about the scm-commits mailing list