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"