From 64a6041bd2a81625ea6a43da82a734b484b2f0d8 Mon Sep 17 00:00:00 2001 From: Ankur Sinha Date: Mon, 9 Aug 2010 20:18:37 +0530 Subject: [PATCH 1/2] * Mon 9 Aug 2010 Ankur Sinha - 2.04-1 - updated to new release --- .gitignore | 1 + sources | 2 +- transmission.spec | 6 +++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 75d26e1..a985b0e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ transmission-2.03.tar.xz +transmission-2.04.tar.xz diff --git a/sources b/sources index 96dc5c0..5e09142 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ac5ed307a2ad89687a8ca82c9454cbbe transmission-2.03.tar.xz +f926b9fb655ca2f2db6f0dc3adb3124f transmission-2.04.tar.xz diff --git a/transmission.spec b/transmission.spec index bc46eef..0138f15 100644 --- a/transmission.spec +++ b/transmission.spec @@ -1,5 +1,5 @@ Name: transmission -Version: 2.03 +Version: 2.04 Release: 1%{?dist} Summary: A lightweight GTK+ BitTorrent client @@ -197,6 +197,10 @@ update-desktop-database > /dev/null 2>&1 || : %{_datadir}/applications/qtr.desktop %changelog +* Mon Aug 09 2010 Ankur Sinha - 2.04-1 +- Updated to latest release +- bug 622239 + * Wed Jul 21 2010 Ankur Sinha - 2.03-1 - updated to latest release version - bug 616745 From f2c8dd51866196a9a8de00f409d5b48114c12328 Mon Sep 17 00:00:00 2001 From: Ankur Sinha Date: Mon, 20 Sep 2010 13:44:27 +0530 Subject: [PATCH 2/2] * Mon Sep 20 2010 Ankur Sinha - 2.04-2 - Added patch to fix https://trac.transmissionbt.com/ticket/3539 --- transmission-3539.patch | 12 ++++++++++++ transmission.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 transmission-3539.patch diff --git a/transmission-3539.patch b/transmission-3539.patch new file mode 100644 index 0000000..ea4ddba --- /dev/null +++ b/transmission-3539.patch @@ -0,0 +1,12 @@ +diff -ur ../transmission-2.04.orig/libtransmission/torrent-magnet.c ./libtransmission/torrent-magnet.c +--- ../transmission-2.04.orig/libtransmission/torrent-magnet.c 2010-08-07 09:04:35.000000000 +0530 ++++ ./libtransmission/torrent-magnet.c 2010-09-20 13:32:57.160346620 +0530 +@@ -116,7 +116,7 @@ + int infoLen; + char * infoContents = tr_bencToStr( infoDict, TR_FMT_BENC, &infoLen ); + const uint8_t * i = (const uint8_t*) tr_memmem( (char*)fileContents, fileLen, infoContents, infoLen ); +- offset = i == NULL ? i - fileContents : 0; ++ offset = i != NULL ? i - fileContents : 0; + tr_free( infoContents ); + } + diff --git a/transmission.spec b/transmission.spec index 0138f15..3893b05 100644 --- a/transmission.spec +++ b/transmission.spec @@ -1,6 +1,6 @@ Name: transmission Version: 2.04 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A lightweight GTK+ BitTorrent client Group: Applications/Internet @@ -28,6 +28,7 @@ BuildRequires: GConf2-devel BuildRequires: qt4-devel # this modification applies to the Qt qtr.pro file Patch1: fix-optflags.patch +Patch2: transmission-3539.patch Requires: transmission-cli Requires: transmission-gtk %description @@ -92,6 +93,7 @@ exit 0 %prep %setup -q %patch1 -p1 +%patch2 -p1 %build %configure --disable-static --with-gtk --without-wx --enable-libcanberra --enable-libnotify --enable-daemon @@ -197,6 +199,9 @@ update-desktop-database > /dev/null 2>&1 || : %{_datadir}/applications/qtr.desktop %changelog +* Mon Sep 20 2010 Ankur Sinha - 2.04-2 +- Added patch to fix https://trac.transmissionbt.com/ticket/3539 + * Mon Aug 09 2010 Ankur Sinha - 2.04-1 - Updated to latest release - bug 622239