Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-tasklib for openSUSE:Factory 
checked in at 2024-02-23 16:45:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tasklib (Old)
 and      /work/SRC/openSUSE:Factory/.python-tasklib.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tasklib"

Fri Feb 23 16:45:57 2024 rev:7 rq:1149688 version:2.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tasklib/python-tasklib.changes    
2022-12-06 14:23:15.269564975 +0100
+++ /work/SRC/openSUSE:Factory/.python-tasklib.new.1770/python-tasklib.changes  
2024-02-23 16:47:05.091155893 +0100
@@ -1,0 +2,6 @@
+Fri Feb 23 06:39:48 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Switch to pyproject and autosetup macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-tasklib.spec ++++++
--- /var/tmp/diff_new_pack.VjT59E/_old  2024-02-23 16:47:05.531171849 +0100
+++ /var/tmp/diff_new_pack.VjT59E/_new  2024-02-23 16:47:05.531171849 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tasklib
 #
-# Copyright (c) 2022 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
@@ -16,8 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 Name:           python-tasklib
 Version:        2.5.1
 Release:        0
@@ -26,9 +24,11 @@
 URL:            https://github.com/robgolding/tasklib
 Source:         
https://files.pythonhosted.org/packages/source/t/tasklib/tasklib-%{version}.tar.gz
 Patch0:         disable-windows-test.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tzlocal}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  taskwarrior >= 2.4.0
@@ -43,14 +43,13 @@
 databases, using a queryset API similar to that of Django's ORM.
 
 %prep
-%setup -q -n tasklib-%{version}
-%patch0 -p1
+%autosetup -p1 -n tasklib-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -60,5 +59,6 @@
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/tasklib
+%{python_sitelib}/tasklib-%{version}.dist-info
 

Reply via email to