Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-smpplib"

Mon Mar  4 21:25:18 2024 rev:7 rq:1154513 version:2.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-smpplib/python-smpplib.changes    
2023-12-09 22:57:13.916377114 +0100
+++ /work/SRC/openSUSE:Factory/.python-smpplib.new.1770/python-smpplib.changes  
2024-03-04 21:25:27.571099857 +0100
@@ -1,0 +2,6 @@
+Mon Mar  4 04:57:07 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Switch to autosetup and pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-smpplib.spec ++++++
--- /var/tmp/diff_new_pack.jHHSde/_old  2024-03-04 21:25:28.371128887 +0100
+++ /var/tmp/diff_new_pack.jHHSde/_new  2024-03-04 21:25:28.375129032 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-smpplib
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 # Copyright (c) 2016-2021, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,20 +17,20 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-smpplib
 Version:        2.2.3
 Release:        0
 Summary:        SMPP library for Python
 License:        LGPL-2.0-only
-Group:          Development/Languages/Python
 URL:            https://pypi.org/project/smpplib/
 #Git-Clone:     https://github.com/python-smpplib/python-smpplib.git
 Source:         
https://github.com/python-smpplib/python-smpplib/archive/%{version}.tar.gz#/smpplib-%{version}.tar.gz
 # https://github.com/python-smpplib/python-smpplib/issues/200
 Patch0:         python-smpplib-no-mock.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
@@ -47,14 +47,13 @@
 allows you to send and receive SMS to an SMS gateway or SMSC.
 
 %prep
-%setup -q -n python-smpplib-%{version}
-%patch0 -p1
+%autosetup -p1 -n python-smpplib-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 # Remove tests from sitelib
 %python_expand rm -R %{buildroot}%{$python_sitelib}/smpplib/tests/
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -65,5 +64,6 @@
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%{python_sitelib}/smpplib*
+%{python_sitelib}/smpplib
+%{python_sitelib}/smpplib-%{version}.dist-info
 

Reply via email to