[packages/transmission] drop verchange bcond (patch outdated for ~10 years)
atler
atler at pld-linux.org
Wed Feb 8 21:57:44 CET 2023
commit f91247be5715c67ff82ace7ce48158ec4fe6ea72
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Feb 8 21:37:35 2023 +0100
drop verchange bcond (patch outdated for ~10 years)
transmission-version.patch | 13 -------------
transmission.spec | 6 ------
2 files changed, 19 deletions(-)
---
diff --git a/transmission.spec b/transmission.spec
index ace54b2..1f8ba89 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -3,7 +3,6 @@
%bcond_without gtk # without GTK GUI
%bcond_without qt # without Qt GUI
%bcond_without systemd # without systemd unit
-%bcond_with verchange # changes client version identification to 2.42
%define qtver 5.2
@@ -20,7 +19,6 @@ Source0: https://github.com/transmission/transmission-releases/raw/master/%{name
Source1: %{name}.sysconfig
Source2: %{name}.init
Patch1: openssl3.patch
-Patch2: %{name}-version.patch
URL: http://transmissionbt.com/
BuildRequires: autoconf
BuildRequires: automake >= 1:1.9
@@ -241,10 +239,6 @@ Narzędzia dla klienta BitTorrenta Transmission.
%prep
%setup -q
%patch1 -p1
-%if %{with verchange}
-%patch2 -p1
-./update-version-h.sh
-%endif
%{__sed} -i 's/\(^CONFIG.*\)\( debug\)/\1/' qt/qtr.pro
diff --git a/transmission-version.patch b/transmission-version.patch
deleted file mode 100644
index 8bccdff..0000000
--- a/transmission-version.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- 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.80])
--m4_define([peer_id_prefix],[-TR2800-])
-+m4_define([user_agent_prefix],[2.42])
-+m4_define([peer_id_prefix],[-TR2420-])
-
- AC_INIT([transmission],
- [user_agent_prefix],
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/transmission.git/commitdiff/058ef471d8815b4f7863dfe8f36f0aa2f320a922
More information about the pld-cvs-commit
mailing list