[packages/telepathy-idle] - updated to 0.2.2 - force build using python3

qboosh qboosh at pld-linux.org
Sun Feb 28 16:08:12 CET 2021


commit 0c5a993aed22fd9fc8c0e6285870e401dc00dfe3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 28 16:08:58 2021 +0100

    - updated to 0.2.2
    - force build using python3

 telepathy-idle.spec | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/telepathy-idle.spec b/telepathy-idle.spec
index 12f6e01..b27c2df 100644
--- a/telepathy-idle.spec
+++ b/telepathy-idle.spec
@@ -1,14 +1,14 @@
 Summary:	A Telepathy connection manager for IRC
 Summary(pl.UTF-8):	Zarządca połączeń Telepathy dla IRC-a
 Name:		telepathy-idle
-Version:	0.2.0
+Version:	0.2.2
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
-Source0:	http://telepathy.freedesktop.org/releases/telepathy-idle/%{name}-%{version}.tar.gz
-# Source0-md5:	92a2de5198284cbd3c430b0d1a971a86
+Source0:	https://telepathy.freedesktop.org/releases/telepathy-idle/%{name}-%{version}.tar.gz
+# Source0-md5:	a2ecfaa76f5180359bcbc3caa66c5e55
 Patch0:		%{name}-am.patch
-URL:		http://telepathy.freedesktop.org/wiki/
+URL:		https://telepathy.freedesktop.org/components/telepathy-idle
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1:1.9
 BuildRequires:	dbus-devel >= 0.51
@@ -18,12 +18,13 @@ BuildRequires:	libtool
 BuildRequires:	libxslt-progs
 BuildRequires:	openssl-devel >= 0.9.7
 BuildRequires:	pkgconfig
-BuildRequires:	python >= 2.3
-BuildRequires:	telepathy-glib-devel >= 0.15.9
+BuildRequires:	python3 >= 1:3.2
+BuildRequires:	sed >= 4.0
+BuildRequires:	telepathy-glib-devel >= 0.21
 Requires:	dbus >= 0.51
 Requires:	dbus-glib >= 0.61
 Requires:	glib2 >= 1:2.32.0
-Requires:	telepathy-glib >= 0.15.9
+Requires:	telepathy-glib >= 0.21
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,6 +37,8 @@ Zarządca połączeń pozwalający połączyć się Telepathy z IRC-em.
 %setup -q
 %patch0 -p1
 
+%{__sed} -i -e '1s,/usr/bin/python$,%{__python3},' tools/*.py
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
@@ -43,6 +46,7 @@ Zarządca połączeń pozwalający połączyć się Telepathy z IRC-em.
 %{__autoheader}
 %{__automake}
 %configure \
+	PYTHON="%{__python3}" \
 	--disable-silent-rules
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/telepathy-idle.git/commitdiff/0c5a993aed22fd9fc8c0e6285870e401dc00dfe3



More information about the pld-cvs-commit mailing list