Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-lockfile for openSUSE:Factory
checked in at 2024-03-01 23:36:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-lockfile (Old)
and /work/SRC/openSUSE:Factory/.python-lockfile.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lockfile"
Fri Mar 1 23:36:35 2024 rev:18 rq:1153723 version:0.12.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-lockfile/python-lockfile.changes
2023-05-09 13:06:54.940870220 +0200
+++
/work/SRC/openSUSE:Factory/.python-lockfile.new.1770/python-lockfile.changes
2024-03-01 23:36:54.128272565 +0100
@@ -1,0 +2,5 @@
+Fri Mar 1 03:24:50 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to autosetup and pyproject macros.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-lockfile.spec ++++++
--- /var/tmp/diff_new_pack.y7qXxF/_old 2024-03-01 23:36:54.552287899 +0100
+++ /var/tmp/diff_new_pack.y7qXxF/_new 2024-03-01 23:36:54.556288044 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-lockfile
#
-# Copyright (c) 2023 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
@@ -28,8 +28,10 @@
Patch0: %{name}-empty_ident.patch
Patch1: convert-to-unittest.patch
BuildRequires: %{python_module pbr}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -46,17 +48,13 @@
production-quality code.
%prep
-%setup -q -n lockfile-%{version}
-# current thread has ident = None, which causes a TypeError
-# http://code.google.com/p/pylockfile/issues/detail?id=8
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1 -n lockfile-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -65,5 +63,6 @@
%files %{python_files}
%license LICENSE
%doc README.rst AUTHORS ACKS RELEASE-NOTES ChangeLog
-%{python_sitelib}/lockfile*
+%{python_sitelib}/lockfile
+%{python_sitelib}/lockfile-%{version}.dist-info