diff --git a/python-flake8-bugbear.changes b/python-flake8-bugbear.changes index ac4517b..3e4cbd4 100644 --- a/python-flake8-bugbear.changes +++ b/python-flake8-bugbear.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 27 11:51:05 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Mar 25 17:49:59 UTC 2024 - Dirk Müller diff --git a/python-flake8-bugbear.spec b/python-flake8-bugbear.spec index 35fe130..6695b72 100644 --- a/python-flake8-bugbear.spec +++ b/python-flake8-bugbear.spec @@ -1,7 +1,7 @@ # # spec file for package python-flake8-bugbear # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,8 +30,10 @@ BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module flake8 >= 6.0.0} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module hypothesmith} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-attrs >= 19.2.0 @@ -48,10 +50,10 @@ pycodestyle. %setup -q -n flake8-bugbear-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -61,6 +63,7 @@ pycodestyle. %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/flake8-bugbear +%{python_sitelib}/flake8-bugbear-%{version}*-info %changelog