public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/transmission] epel10: use hardened build macro and enable fPIC for Qt build. resolves rhbz#955268
@ 2026-07-20 20:37 Rahul Sundaram
  0 siblings, 0 replies; only message in thread
From: Rahul Sundaram @ 2026-07-20 20:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/transmission
Branch : epel10
Commit : 2fa893bbab158bebc57d2fc577cdaa6a174c3e73
Author : Rahul Sundaram <sundaram@fedoraproject.org>
Date   : 2013-04-25T15:41:23-04:00
Stats  : +12/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/transmission/c/2fa893bbab158bebc57d2fc577cdaa6a174c3e73?branch=epel10

Log:
use hardened build macro and enable fPIC for Qt build. resolves rhbz#955268

---
diff --git a/transmission.spec b/transmission.spec
index 3056036..7e0c9ff 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -1,6 +1,8 @@
+%global _hardened_build 1
+
 Name:           transmission
 Version:        2.77
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A lightweight GTK+ BitTorrent client
 
 Group:          Applications/Internet
@@ -94,16 +96,18 @@ iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new
 mv NEWS.new NEWS
 
 %build
+
+CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
+
 %configure --disable-static --enable-utp --enable-daemon \
            --enable-nls --enable-cli --enable-daemon  --with-gnu-ld 
 make %{?_smp_mflags}
 
 pushd qt
-qmake-qt4 QMAKE_LFLAGS="$RPM_LD_FLAGS" qtr.pro
+qmake-qt4 QMAKE_LFLAGS="$RPM_LD_FLAGS" QMAKE_CXXFLAGS="$CXXFLAGS" qtr.pro
 make %{?_smp_mflags}
 popd
 
-
 %install
 mkdir -p %{buildroot}%{_unitdir}
 install -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/transmission-daemon.service
@@ -183,6 +187,9 @@ update-desktop-database > /dev/null 2>&1 || :
 %doc %{_mandir}/man1/transmission-qt.*
 
 %changelog
+* Mon Apr 22 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 2.77-3
+- use hardened build macro and enable fPIC for Qt build. resolves rhbz#955268
+
 * Tue Apr 02 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 2.77-2
 - fix use of systemd macros to apply to daemon subpackage only
 
@@ -240,7 +247,7 @@ update-desktop-database > /dev/null 2>&1 || :
 * Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.42-2
 - Rebuilt for glibc bug#747377
 
-* Sat Oct 23 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 2.42-1
+* Sun Oct 23 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 2.42-1
 - upstream release 2.42
 - https://trac.transmissionbt.com/wiki/Changes#version-2.42
 
@@ -339,7 +346,7 @@ update-desktop-database > /dev/null 2>&1 || :
 - Some bug fixes
 - http://trac.transmissionbt.com/query?groupdesc=1&group=component&milestone=1.92&order=severity
 
-* Mon Mar 07 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 1.91-3
+* Sun Mar 07 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 1.91-3
 - Don't lose user configuration with updates 
 - Fixes rhbz#571044
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 20:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 20:37 [rpms/transmission] epel10: use hardened build macro and enable fPIC for Qt build. resolves rhbz#955268 Rahul Sundaram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox