Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-flake8-polyfill for
openSUSE:Factory checked in at 2024-02-29 21:49:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-polyfill (Old)
and /work/SRC/openSUSE:Factory/.python-flake8-polyfill.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-polyfill"
Thu Feb 29 21:49:49 2024 rev:4 rq:1153082 version:1.0.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-flake8-polyfill/python-flake8-polyfill.changes
2021-05-20 19:24:18.662127115 +0200
+++
/work/SRC/openSUSE:Factory/.python-flake8-polyfill.new.1770/python-flake8-polyfill.changes
2024-02-29 21:50:03.053314073 +0100
@@ -1,0 +2,6 @@
+Thu Feb 29 04:22:01 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to autosetup and pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-flake8-polyfill.spec ++++++
--- /var/tmp/diff_new_pack.SOAtFZ/_old 2024-02-29 21:50:04.813378960 +0100
+++ /var/tmp/diff_new_pack.SOAtFZ/_new 2024-02-29 21:50:04.817379107 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-polyfill
#
-# 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
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-flake8-polyfill
Version: 1.0.2
Release: 0
@@ -29,7 +28,9 @@
Patch0: python-flake8-polyfill-use-unittest-mock.patch
# https://gitlab.com/pycqa/flake8-polyfill/-/issues/3
Patch1: python-flake8-polyfill-tool-pytest.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-flake8
@@ -48,15 +49,13 @@
Flake8 plugins that intend to support Flake8 2.x and 3.x simultaneously.
%prep
-%setup -q -n flake8-polyfill-%{version}
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1 -n flake8-polyfill-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -66,5 +65,6 @@
%files %{python_files}
%doc AUTHORS.rst CHANGELOG.rst README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/flake8_polyfill
+%{python_sitelib}/flake8_polyfill-%{version}.dist-info