Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-py for openSUSE:Factory 
checked in at 2022-11-30 16:07:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py (Old)
 and      /work/SRC/openSUSE:Factory/.python-py.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-py"

Wed Nov 30 16:07:55 2022 rev:39 rq:1038945 version:1.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py/python-py.changes      2022-03-17 
17:01:22.585679758 +0100
+++ /work/SRC/openSUSE:Factory/.python-py.new.1597/python-py.changes    
2022-11-30 16:07:55.339498507 +0100
@@ -1,0 +2,8 @@
+Tue Nov 29 17:04:41 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Remove python_module macro definition
+- Add python-py dep for testing
+- Use autosetup insteado of setup + patch
+- More specific python_sitelib in %files
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-py.spec ++++++
--- /var/tmp/diff_new_pack.VoA9cZ/_old  2022-11-30 16:07:55.851501308 +0100
+++ /var/tmp/diff_new_pack.VoA9cZ/_new  2022-11-30 16:07:55.855501330 +0100
@@ -17,7 +17,6 @@
 
 
 %define oldpython python
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %define psuffix -test
@@ -47,6 +46,7 @@
 Obsoletes:      %{oldpython}-py-docs
 BuildArch:      noarch
 %if %{with test}
+BuildRequires:  %{python_module py = %{version}}
 BuildRequires:  %{python_module pytest}
 %endif
 %python_subpackages
@@ -62,8 +62,7 @@
 * py.path:  uniform local and svn path objects
 
 %prep
-%setup -q -n py-%{version}
-%patch0 -p1
+%autosetup -p1 -n py-%{version}
 
 rm -rf py.egg-info
 rm -f tox.ini
@@ -92,7 +91,8 @@
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/py
+%{python_sitelib}/py-%{version}*-info
 %endif
 
 %changelog

Reply via email to