Hello community, here is the log from the commit of package linphone for openSUSE:Factory checked in at 2018-02-21 14:11:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linphone (Old) and /work/SRC/openSUSE:Factory/.linphone.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linphone" Wed Feb 21 14:11:55 2018 rev:58 rq:578398 version:3.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/linphone/linphone.changes 2018-01-22 16:20:39.627922740 +0100 +++ /work/SRC/openSUSE:Factory/.linphone.new/linphone.changes 2018-02-21 14:11:59.253074353 +0100 @@ -1,0 +2,6 @@ +Mon Feb 19 14:26:38 UTC 2018 - sor.ale...@meowr.ru + +- Revert back to Python2: building with Python3 has regressions + (boo#1077857). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linphone.spec ++++++ --- /var/tmp/diff_new_pack.Nok0St/_old 2018-02-21 14:12:01.324999738 +0100 +++ /var/tmp/diff_new_pack.Nok0St/_new 2018-02-21 14:12:01.328999594 +0100 @@ -42,9 +42,6 @@ BuildRequires: libgsm-devel BuildRequires: openldap2-devel BuildRequires: pkgconfig -BuildRequires: python3 -BuildRequires: python3-six -BuildRequires: python3-xml BuildRequires: readline-devel BuildRequires: sgmltool BuildRequires: pkgconfig(alsa) @@ -65,8 +62,21 @@ BuildRequires: pkgconfig(speex) >= 1.1.6 BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(udev) +%if 0%{?suse_version} > 1320 +BuildRequires: python2 +BuildRequires: python2-six +BuildRequires: python2-xml +%else +BuildRequires: python +BuildRequires: python-six +BuildRequires: python-xml +%endif %if %{with linphone_cplusplus} -BuildRequires: python3-pystache +%if 0%{?suse_version} > 1320 +BuildRequires: python2-pystache +%else +BuildRequires: python-pystache +%endif %endif %if %{with linphone_gtkui} BuildRequires: hicolor-icon-theme @@ -186,7 +196,7 @@ %build %cmake \ - -DPYTHON_EXECUTABLE="%{_bindir}/python3" \ + -DPYTHON_EXECUTABLE="%{_bindir}/python2" \ %if %{with linphone_cplusplus} -DENABLE_CXX_WRAPPER=ON \ %else @@ -224,7 +234,7 @@ %find_lang %{name} %fdupes %{buildroot}%{_datadir}/ -%if %{with linphone_gtkui} +%if 0%{?suse_version} <= 1320 && %{with linphone_gtkui} %post %desktop_database_post %icon_theme_cache_post