public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rahul Sundaram <sundaram@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/transmission] epel10: use hardened build macro and enable fPIC for Qt build. resolves rhbz#955268
Date: Mon, 20 Jul 2026 20:37:13 GMT	[thread overview]
Message-ID: <178457983347.1.8300837837372925448.rpms-transmission-2fa893bbab15@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-07-20 20:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178457983347.1.8300837837372925448.rpms-transmission-2fa893bbab15@fedoraproject.org \
    --to=sundaram@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox