Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py3c for openSUSE:Factory checked in at 2022-08-08 08:44:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-py3c (Old) and /work/SRC/openSUSE:Factory/.python-py3c.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py3c" Mon Aug 8 08:44:47 2022 rev:5 rq:989335 version:1.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-py3c/python-py3c.changes 2021-03-29 18:21:15.870230728 +0200 +++ /work/SRC/openSUSE:Factory/.python-py3c.new.1521/python-py3c.changes 2022-08-08 08:44:48.314384001 +0200 @@ -1,0 +2,5 @@ +Thu Jul 14 20:42:53 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Fix test build paths for setuptools 63 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-py3c.spec ++++++ --- /var/tmp/diff_new_pack.VvG2Kz/_old 2022-08-08 08:44:49.554387649 +0200 +++ /var/tmp/diff_new_pack.VvG2Kz/_new 2022-08-08 08:44:49.558387661 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-py3c # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -62,26 +62,27 @@ %check pushd test # Test C extension -%python_exec setup.py build +%python_build %{python_expand # copy the lib and run the test -cp ./build/lib.linux*-%{$python_bin_suffix}/test_py3c* ./ +cp ./build/lib.linux*/test_py3c* ./ $python __main__.py -v +rm -f test_py3c*.so +rm -rf build } # Test Cpp extension -rm -f test_py3c*.so -rm -rf build* export TEST_USE_CPP="yes" -%python_exec setup.py build +%python_build %{python_expand # copy the lib and run the test -cp ./build/lib.linux*-%{$python_bin_suffix}/test_py3c* ./ +cp ./build/lib.linux*/test_py3c* ./ $python __main__.py -v +rm -f test_py3c*.so } popd %files %{python_files} %doc README.rst %license LICENSE.MIT -%{python_sitelib}/* +%{python_sitelib}/py3c-%{version}*-info %files -n py3c-devel %{_includedir}/py3c.h