Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pylzma for openSUSE:Factory 
checked in at 2024-03-08 18:09:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pylzma (Old)
 and      /work/SRC/openSUSE:Factory/.python-pylzma.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pylzma"

Fri Mar  8 18:09:29 2024 rev:6 rq:1156215 version:0.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pylzma/python-pylzma.changes      
2021-09-15 22:51:48.746937505 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylzma.new.1770/python-pylzma.changes    
2024-03-08 18:09:30.662871170 +0100
@@ -1,0 +2,6 @@
+Fri Mar  8 04:17:08 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Switch to autosetup and pyproject macro.
+- Less globs in %files.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pylzma.spec ++++++
--- /var/tmp/diff_new_pack.nB5l5v/_old  2024-03-08 18:09:31.222891754 +0100
+++ /var/tmp/diff_new_pack.nB5l5v/_new  2024-03-08 18:09:31.222891754 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pylzma
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,20 @@
 
 
 %define oname   pylzma
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pylzma
 Version:        0.5.0
 Release:        0
 Summary:        Python bindings for the LZMA compression library
 License:        LGPL-2.1-only
-Group:          Development/Languages/Python
 URL:            https://github.com/fancycode/pylzma
 Source0:        https://github.com/fancycode/pylzma/archive/v%{version}.tar.gz
 # PATCH-FIX-UPSTREAM python-pylzma-test-python3.patch gh#fancycode/pylzma#76 
mc...@suse.com
 # use python3 syntax in test_usage.py
 Patch0:         python-pylzma-test-python3.patch
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 %python_subpackages
@@ -40,17 +40,19 @@
 that has been compressed or can be decompressed by the LZMA library.
 
 %prep
-%setup -q -n %{oname}-%{version}
-%patch0 -p1
+%autosetup -p1 -n %{oname}-%{version}
+# No .dev0 builds please
+rm -rf pylzma.egg-info setup.cfg
 
 # Remove Shebang
 sed -i '1d' py7zlib.py
 
 %build
-%python_build
+echo %{version} > RELEASE-VERSION
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
@@ -59,6 +61,8 @@
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%{python_sitearch}/*
-%{python_sitearch}/%{oname}*
+%{python_sitearch}/py7zlib.py
+%pycache_only %{python_sitearch}/__pycache__/py7zlib.*.py*
+%{python_sitearch}/%{oname}.cpython-*.so
+%{python_sitearch}/%{oname}-%{version}.dist-info
 

Reply via email to