]> git.pld-linux.org Git - packages/transmission.git/commitdiff
- updated verchange bcond (client version identifiaction: 2.42)
authorKarol Krenski <charles@pld-linux.org>
Thu, 26 Jul 2012 15:37:36 +0000 (17:37 +0200)
committerKarol Krenski <charles@pld-linux.org>
Thu, 26 Jul 2012 15:37:36 +0000 (17:37 +0200)
transmission-version.patch
transmission.spec

index 8dffe8fcb01349b326abd29294e1b9bc1612a395..0f9adc7d08042364164f3a63e43834160c7dd2e7 100644 (file)
@@ -1,62 +1,13 @@
-diff -ur transmission-2.41-orig/configure transmission-2.41/configure
---- transmission-2.41-orig/configure   2011-10-11 13:08:57.632668941 +0200
-+++ transmission-2.41/configure        2011-10-11 13:13:54.969736327 +0200
-@@ -570,8 +570,8 @@
- # Identity of this package.
- PACKAGE_NAME='transmission'
- PACKAGE_TARNAME='transmission'
--PACKAGE_VERSION='2.51'
--PACKAGE_STRING='transmission 2.51'
-+PACKAGE_VERSION='2.33'
-+PACKAGE_STRING='transmission 2.33'
- PACKAGE_BUGREPORT='http://trac.transmissionbt.com/newticket'
- PACKAGE_URL=''
-@@ -2509,9 +2509,9 @@
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
--USERAGENT_PREFIX=2.51
-+USERAGENT_PREFIX=2.33
--PEERID_PREFIX=-TR2510-
-+PEERID_PREFIX=-TR2330-
- # Check whether --enable-silent-rules was given.
-diff -ur transmission-2.41-orig/configure.ac transmission-2.41/configure.ac
---- transmission-2.41-orig/configure.ac        2011-10-11 13:08:59.142738694 +0200
-+++ transmission-2.41/configure.ac     2011-10-11 13:14:45.528738295 +0200
+--- transmission-2.61/configure.ac.orig
++++ transmission-2.61/configure.ac
 @@ -3,8 +3,8 @@
  dnl         "Z" for unsupported trunk builds,
  dnl         "0" for stable, supported releases
  dnl these should be the only two lines you need to change
--m4_define([user_agent_prefix],[2.51])
--m4_define([peer_id_prefix],[-TR2510-])
-+m4_define([user_agent_prefix],[2.33])
-+m4_define([peer_id_prefix],[-TR2330-])
+-m4_define([user_agent_prefix],[2.61])
+-m4_define([peer_id_prefix],[-TR2610-])
++m4_define([user_agent_prefix],[2.42])
++m4_define([peer_id_prefix],[-TR2420-])
  
  AC_INIT([transmission],
          [user_agent_prefix],
-diff -ur transmission-2.41-orig/libtransmission/version.h transmission-2.41/libtransmission/version.h
---- transmission-2.41-orig/libtransmission/version.h   2011-10-11 13:08:57.982685108 +0200
-+++ transmission-2.41/libtransmission/version.h        2011-07-21 01:39:34.000000000 +0200
-@@ -1,10 +1,10 @@
--#define PEERID_PREFIX             "-TR2510-"
--#define USERAGENT_PREFIX          "2.51"
--#define SVN_REVISION              "13280"
--#define SVN_REVISION_NUM          13280
--#define SHORT_VERSION_STRING      "2.51"
--#define LONG_VERSION_STRING       "2.51 (13280)"
--#define VERSION_STRING_INFOPLIST  2.51
-+#define PEERID_PREFIX             "-TR2330-"
-+#define USERAGENT_PREFIX          "2.33"
-+#define SVN_REVISION              "12565"
-+#define SVN_REVISION_NUM          12565
-+#define SHORT_VERSION_STRING      "2.33"
-+#define LONG_VERSION_STRING       "2.33 (12565)"
-+#define VERSION_STRING_INFOPLIST  2.33
- #define MAJOR_VERSION             2
--#define MINOR_VERSION             51
-+#define MINOR_VERSION             33
- #define TR_STABLE_RELEASE         1
index e91017d3507a05c5b460c6177fc7ba7817e56ab0..5cc90f1403097abd94f2973ebb741d568c557d80 100644 (file)
@@ -1,5 +1,6 @@
 # Conditional build:
-%bcond_with verchange     # changes client version identifiaction to 2.22
+%bcond_with verchange     # changes client version identifiaction to 2.42
+
 Summary:       A versatile and multi-platform BitTorrent client
 Summary(hu.UTF-8):     Egy sokoldalú és multiplatformos BitTorrent kliens
 Summary(pl.UTF-8):     Wszechstronny i wieloplatformowy klient BitTorrenta
@@ -126,7 +127,11 @@ mv %{name}-%{version}/* .
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%{?with_verchange:%patch4 -p1}
+%if %{with verchange}
+%patch4 -p1
+./update-version-h.sh
+%endif
+
 %{__rm} po/ckb.po
 %{__sed} -i 's/\(^CONFIG.*\)\( debug\)/\1/' qt/qtr.pro
 
This page took 0.042282 seconds and 4 git commands to generate.