Hello community, here is the log from the commit of package sunpinyin for openSUSE:Factory checked in at 2017-05-03 15:58:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sunpinyin (Old) and /work/SRC/openSUSE:Factory/.sunpinyin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sunpinyin" Wed May 3 15:58:28 2017 rev:12 rq:492528 version:2.0.4+git20160225.844ad0f Changes: -------- --- /work/SRC/openSUSE:Factory/sunpinyin/sunpinyin.changes 2016-03-16 10:36:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.sunpinyin.new/sunpinyin.changes 2017-05-03 15:58:28.621325448 +0200 @@ -1,0 +2,5 @@ +Tue May 2 13:27:26 UTC 2017 - bwiedem...@suse.com + +- Add reproducible.patch to make build fully reproducible + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sunpinyin.spec ++++++ --- /var/tmp/diff_new_pack.Ll0dpu/_old 2017-05-03 15:58:30.117114283 +0200 +++ /var/tmp/diff_new_pack.Ll0dpu/_new 2017-05-03 15:58:30.121113719 +0200 @@ -1,7 +1,7 @@ # # spec file for package sunpinyin # -# Copyright (c) 2016 SUSE LINUX 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 @@ -31,6 +31,8 @@ Patch0: sunpinyin-aarch64.patch #PATCH-FIX-UPSTREAM marguer...@opensuse.org do not download online Patch1: no-download.patch +#PATCH-FIX-UPSTREAM bmwiedem...@opensuse.org make build reproducible +Patch2: reproducible.patch BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: pkg-config @@ -86,6 +88,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 cp -r %{SOURCE1} . cp -r %{SOURCE2} . cp -r %{SOURCE3} src ++++++ reproducible.patch ++++++ sort the includes to make sure they are always listed in the same order to make builds reproducible Index: sunpinyin-2.0.4+git20160225.844ad0f/SConstruct =================================================================== --- sunpinyin-2.0.4+git20160225.844ad0f.orig/SConstruct +++ sunpinyin-2.0.4+git20160225.844ad0f/SConstruct @@ -431,7 +431,7 @@ env.Substfile('sunpinyin-2.0.pc.in', SUB '@VERSION@': version, '@CFLAGS@': reduce(lambda a, b: a + ' ' + b, map(lambda x: '-I$${includedir}' + x[3:], - allinc())), + sorted(allinc()))), }) libname_default = '%ssunpinyin%s' % (env.subst('${SHLIBPREFIX}'),