Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-tpfd"

Tue Mar  5 18:50:47 2024 rev:2 rq:1154939 version:0.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tpfd/python-tpfd.changes  2019-04-05 
12:07:04.526582906 +0200
+++ /work/SRC/openSUSE:Factory/.python-tpfd.new.1770/python-tpfd.changes        
2024-03-05 18:50:56.381648054 +0100
@@ -1,0 +2,6 @@
+Tue Mar  5 02:47:23 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Switch to autosetup and pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-tpfd.spec ++++++
--- /var/tmp/diff_new_pack.PIQcAG/_old  2024-03-05 18:50:56.829664321 +0100
+++ /var/tmp/diff_new_pack.PIQcAG/_new  2024-03-05 18:50:56.829664321 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tpfd
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -16,19 +16,19 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-tpfd
 Version:        0.2.4
 Release:        0
 Summary:        Text Parsing Function Dispatcher
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/erinxocon/tpfd
 Source:         
https://github.com/erinxocon/tpfd/archive/v%{version}.tar.gz#/tpfd-%{version}.tar.gz
 Patch0:         drop-test-data-installation.patch
 BuildRequires:  %{python_module parse}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-parse
@@ -45,14 +45,13 @@
 Great for parsing logs and executing macros on what it finds!
 
 %prep
-%setup -q -n tpfd-%{version}
-%patch0 -p1
+%autosetup -p1 -n tpfd-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -64,5 +63,6 @@
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/tpfd
+%{python_sitelib}/tpfd-%{version}.dist-info
 

Reply via email to