[gajim] Force Python 2. Gajim is not quite ready for Python 3.

Michal Schmidt michich at fedoraproject.org
Mon Mar 2 17:00:14 UTC 2015


commit f0ca074ee97c1dfdcc2f48e5c648ee53601ab8ed
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Mon Mar 2 18:00:02 2015 +0100

    Force Python 2. Gajim is not quite ready for Python 3.

 gajim.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gajim.spec b/gajim.spec
index c085b0c..eb8d695 100644
--- a/gajim.spec
+++ b/gajim.spec
@@ -5,7 +5,7 @@ Name:		gajim
 %global		majorver 0.16
 #global		prever -rcX
 Version:	0.16.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	GPLv3
 Group:		Applications/Internet
 URL:		http://gajim.org/
@@ -46,6 +46,7 @@ Requires:	libXScrnSaver
 #  RST Generator:
 #Requires:	python-docutils
 
+BuildRequires:	python2-devel
 BuildRequires:	desktop-file-utils
 BuildRequires:	intltool
 BuildRequires:	hardlink
@@ -59,7 +60,7 @@ Gajim does not require GNOME to run, even though it exists with it nicely.
 %setup -q -n %{name}-%{version}%{?prever}
 
 %build
-%configure --docdir=%{_pkgdocdir}
+%configure --docdir=%{_pkgdocdir} PYTHON=/usr/bin/python2
 
 make %{?_smp_mflags}
 
@@ -112,6 +113,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/%{name}/src
 
 %changelog
+* Mon Mar 02 2015 Michal Schmidt <mschmidt at redhat.com> - 0.16.1-2
+- Force Python 2. Gajim is not quite ready for Python 3.
+
 * Mon Mar 02 2015 Michal Schmidt <mschmidt at redhat.com> - 0.16.1-1
 - Upstream release 0.16.1.
 


More information about the scm-commits mailing list