Hello community, here is the log from the commit of package graphite2 for openSUSE:Factory checked in at 2017-12-08 12:55:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/graphite2 (Old) and /work/SRC/openSUSE:Factory/.graphite2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "graphite2" Fri Dec 8 12:55:33 2017 rev:22 rq:550315 version:1.3.10 Changes: -------- --- /work/SRC/openSUSE:Factory/graphite2/graphite2.changes 2017-11-21 15:30:34.221128059 +0100 +++ /work/SRC/openSUSE:Factory/.graphite2.new/graphite2.changes 2017-12-08 12:55:34.269622147 +0100 @@ -1,0 +2,5 @@ +Tue Dec 5 12:03:29 UTC 2017 - [email protected] + +- Make sure we switch to python3 only on SLE15+ and not on SLE12 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ graphite2.spec ++++++ --- /var/tmp/diff_new_pack.OHMvnw/_old 2017-12-08 12:55:35.629573032 +0100 +++ /var/tmp/diff_new_pack.OHMvnw/_new 2017-12-08 12:55:35.633572888 +0100 @@ -40,7 +40,11 @@ BuildRequires: gcc-c++ BuildRequires: glib2-devel BuildRequires: pkgconfig -BuildRequires: python3 +%if %{suse_version} >= 1330 +BuildRequires: python3-base +%else +BuildRequires: python-base +%endif %description Graphite2 is a project within SIL's Non-Roman Script Initiative and Language @@ -88,8 +92,10 @@ %build # Make sure to use python3 everywhere +%if %{suse_version} >= 1330 find tests -type f -exec sed -i "s|python|python3|g" {} + find . -name *.cmake -exec sed -i "s|python|python3|g" {} + +%endif %cmake \ -DGRAPHITE2_COMPARE_RENDERER=OFF \ -DGRAPHITE2_NTRACING=ON \
