Hello community, here is the log from the commit of package scim-sunpinyin for openSUSE:Factory checked in at 2017-11-24 10:57:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scim-sunpinyin (Old) and /work/SRC/openSUSE:Factory/.scim-sunpinyin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scim-sunpinyin" Fri Nov 24 10:57:37 2017 rev:7 rq:545057 version:2.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/scim-sunpinyin/scim-sunpinyin.changes 2013-07-24 17:29:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.scim-sunpinyin.new/scim-sunpinyin.changes 2017-11-24 10:57:40.329269175 +0100 @@ -1,0 +2,6 @@ +Thu Nov 23 17:20:47 UTC 2017 - dims...@opensuse.org + +- Add scim-sunpinyin-scons-on-py3.patch: Fix build with scons using + python3 as interpreter. + +------------------------------------------------------------------- New: ---- scim-sunpinyin-scons-on-py3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scim-sunpinyin.spec ++++++ --- /var/tmp/diff_new_pack.FAkPUC/_old 2017-11-24 10:57:41.285234264 +0100 +++ /var/tmp/diff_new_pack.FAkPUC/_new 2017-11-24 10:57:41.289234117 +0100 @@ -1,7 +1,7 @@ # # spec file for package scim-sunpinyin # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,8 @@ Patch1: scim-sunpinyin-remove-old-functions.patch #BuildRequires gtk3-devel fjk...@suse.com Patch2: scim-sunpinyin-sconstruct-gtk3.patch +# PATCH-FIX-UPSTREAM scim-sunpinyin-scons-on-py3.patch dims...@opensuse.org -- Fix build with scons using python3 as interpreter +Patch3: scim-sunpinyin-scons-on-py3.patch BuildRequires: gcc-c++ %if 0%{?sles_version} BuildRequires: gtk2-devel @@ -67,6 +69,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build scons --prefix=/usr --libdir=%{_libdir} ++++++ scim-sunpinyin-scons-on-py3.patch ++++++ Index: scim-sunpinyin-2.0.3/SConstruct =================================================================== --- scim-sunpinyin-2.0.3.orig/SConstruct +++ scim-sunpinyin-2.0.3/SConstruct @@ -26,7 +26,7 @@ opts.Add('DATADIR', default='/usr/local/ def PassVariables(envvar, env): for (x, y) in envvar: if x in os.environ: - print 'Warning: you\'ve set %s in the environmental variable!' % x + print ('Warning: you\'ve set %s in the environmental variable!' % x) env[y] = os.environ[x] env = Environment(ENV=os.environ,