Hello community, here is the log from the commit of package python-pycxx for openSUSE:Factory checked in at 2020-06-02 14:37:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycxx (Old) and /work/SRC/openSUSE:Factory/.python-pycxx.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycxx" Tue Jun 2 14:37:53 2020 rev:3 rq:810301 version:7.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycxx/python-pycxx.changes 2018-12-24 11:41:45.341432777 +0100 +++ /work/SRC/openSUSE:Factory/.python-pycxx.new.3606/python-pycxx.changes 2020-06-02 14:38:40.583528458 +0200 @@ -1,0 +2,6 @@ +Fri May 29 20:32:15 UTC 2020 - Matej Cepl <[email protected]> + +- Remove %python3_only constructs and replace them with other + conditional constructs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycxx.spec ++++++ --- /var/tmp/diff_new_pack.y48MiQ/_old 2020-06-02 14:38:42.015532985 +0200 +++ /var/tmp/diff_new_pack.y48MiQ/_new 2020-06-02 14:38:42.015532985 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python +# spec file for package python-pycxx # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,6 +31,7 @@ Patch1: python-pycxx-7.0.3-change-include-paths.patch Patch2: python-pycxx-7.0.3-setup.py.patch BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros Obsoletes: python-cxx < %{version} @@ -75,9 +76,15 @@ %build %python_build +%ifpython3 +rm -r Doc/Python2 && mv Doc/Python3 Doc/Python +%else +rm -r Doc/Python3 && mv Doc/Python2 Doc/Python +%endif %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license COPYRIGHT @@ -85,10 +92,12 @@ %{python_sitelib}/CXX* %files %{python_files devel} -%python2_only %doc Doc/Python2/ -%python3_only %doc Doc/Python3/ -%python2_only %{_datadir}/python%{python2_bin_suffix} -%python3_only %{_datadir}/python%{python3_bin_suffix} +%doc Doc/Python/ +%ifpython3 +%{_datadir}/python%{python3_bin_suffix} +%else +%{_datadir}/python%{python2_bin_suffix} +%endif %{python_sysconfig_path include} %changelog
