From 5f603a1b4f96e430b37fbbca9772960cb954f14f6b1f940934b08f66ca3cace8 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Thu, 2 Nov 2017 14:52:02 +0000 Subject: [PATCH] Accepting request 538366 from home:pluskalm:branches:network:pidgin - Explicitly require python2 OBS-URL: https://build.opensuse.org/request/show/538366 OBS-URL: https://build.opensuse.org/package/show/network:pidgin/pidgin?expand=0&rev=8 --- pidgin.changes | 5 +++++ pidgin.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pidgin.changes b/pidgin.changes index eabdd4f..a21fe7d 100644 --- a/pidgin.changes +++ b/pidgin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 2 13:25:45 UTC 2017 - mpluskal@suse.com + +- Explicitly require python2 + ------------------------------------------------------------------- Sat Jul 22 06:37:17 UTC 2017 - tchvatal@suse.com diff --git a/pidgin.spec b/pidgin.spec index 69d2e2f..37d4f70 100644 --- a/pidgin.spec +++ b/pidgin.spec @@ -68,7 +68,7 @@ BuildRequires: meanwhile-devel BuildRequires: mozilla-nspr-devel BuildRequires: ncurses-devel BuildRequires: pkgconfig -BuildRequires: python-devel +BuildRequires: python2-devel BuildRequires: startup-notification-devel BuildRequires: tk-devel BuildRequires: update-desktop-files @@ -272,6 +272,9 @@ cp -f %{SOURCE3} %{name}-prefs.xml mv po/my_MM.po po/my.po sed -i "/ALL_LINGUAS/s/ my_MM / my /" configure.ac +# Do not use env for python sripts +sed -i "s|env python|python2|g" libpurple/purple-* + %build export CFLAGS="%{optflags} -fstack-protector -fPIC" export CXXFLAGS="%{optflags} -fstack-protector -fPIC"