Hello community, here is the log from the commit of package liblouis for openSUSE:Factory checked in at 2017-02-19 00:45:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liblouis (Old) and /work/SRC/openSUSE:Factory/.liblouis.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liblouis" Changes: -------- --- /work/SRC/openSUSE:Factory/liblouis/liblouis.changes 2016-08-17 12:01:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.liblouis.new/liblouis.changes 2017-02-19 00:45:17.288492475 +0100 @@ -1,0 +2,9 @@ +Fri Feb 10 14:24:42 UTC 2017 - dims...@opensuse.org + +- Define python_sitelib: newer versions of python-rpm-macros + overwrite it to be python2 specific (python3 macros is called + python3_sitelib). +- To be on the safe side, define __python to python2 when not + building for python3. + +------------------------------------------------------------------- python-louis.changes: same change python3-louis.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liblouis.spec ++++++ --- /var/tmp/diff_new_pack.unU8go/_old 2017-02-19 00:45:18.144372026 +0100 +++ /var/tmp/diff_new_pack.unU8go/_new 2017-02-19 00:45:18.144372026 +0100 @@ -1,7 +1,7 @@ # # spec file for package liblouis # -# 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 @@ -24,9 +24,13 @@ %define __python python3 %define py_requires %{nil} %else +%define __python python2 %define py_suffix %{nil} %endif +#Configure python_sitelib, based on the used python version +%global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())") + Name: liblouis %define _name liblouis Version: 2.6.4 @@ -69,9 +73,9 @@ %package -n liblouis9 Summary: Braille Translator and Back-Translator +# We used to have a package named liblouis, until 2.4.1. License: LGPL-3.0+ Group: System/Libraries -# We used to have a package named liblouis, until 2.4.1. Requires: %{name}-data >= %{version} Provides: %{name} = %{version} Obsoletes: %{name} < %{version} ++++++ python-louis.spec ++++++ --- /var/tmp/diff_new_pack.unU8go/_old 2017-02-19 00:45:18.172368087 +0100 +++ /var/tmp/diff_new_pack.unU8go/_new 2017-02-19 00:45:18.176367523 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-louis # -# 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 @@ -24,9 +24,13 @@ %define __python python3 %define py_requires %{nil} %else +%define __python python2 %define py_suffix %{nil} %endif +#Configure python_sitelib, based on the used python version +%global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())") + Name: python-louis %define _name liblouis Version: 2.6.4 @@ -69,9 +73,9 @@ %package -n liblouis9 Summary: Braille Translator and Back-Translator - Python Bindings +# We used to have a package named liblouis, until 2.4.1. License: LGPL-3.0+ Group: Development/Languages/Python -# We used to have a package named liblouis, until 2.4.1. Requires: %{name}-data >= %{version} Provides: %{name} = %{version} Obsoletes: %{name} < %{version} python3-louis.spec: same change