Hello community, here is the log from the commit of package opencc for openSUSE:Factory checked in at 2018-01-09 14:37:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opencc (Old) and /work/SRC/openSUSE:Factory/.opencc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opencc" Tue Jan 9 14:37:06 2018 rev:16 rq:561790 version:1.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/opencc/opencc.changes 2017-11-14 14:13:26.915878032 +0100 +++ /work/SRC/openSUSE:Factory/.opencc.new/opencc.changes 2018-01-09 14:37:07.365017473 +0100 @@ -1,0 +2,5 @@ +Wed Jan 3 19:38:59 UTC 2018 - tchva...@suse.com + +- Use python3 for all the operations do not implicitely inherit py2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opencc.spec ++++++ --- /var/tmp/diff_new_pack.4bCa75/_old 2018-01-09 14:37:08.324972445 +0100 +++ /var/tmp/diff_new_pack.4bCa75/_new 2018-01-09 14:37:08.328972258 +0100 @@ -1,7 +1,7 @@ # # spec file for package opencc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -27,6 +27,8 @@ BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig +# needed to generate some docu files +BuildRequires: python3-base %description OpenCC is an opensource project for conversion between Traditional @@ -71,6 +73,10 @@ %prep %setup -q -n OpenCC-ver.%{version} +# call python3 with path +sed -i \ + -e 's:BIN python:BIN /usr/bin/python3:g' \ + data/CMakeLists.txt %build %cmake \