diff --git a/python-flake8-quotes.changes b/python-flake8-quotes.changes index bd88722..e62dce5 100644 --- a/python-flake8-quotes.changes +++ b/python-flake8-quotes.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 27 12:07:51 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Mar 25 20:20:38 UTC 2024 - Dirk Müller diff --git a/python-flake8-quotes.spec b/python-flake8-quotes.spec index 22ab2ba..18dcaef 100644 --- a/python-flake8-quotes.spec +++ b/python-flake8-quotes.spec @@ -1,7 +1,7 @@ # # spec file for package python-flake8-quotes # -# 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 @@ -16,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%global skip_python2 1 Name: python-flake8-quotes Version: 3.4.0 Release: 0 @@ -27,8 +25,10 @@ Group: Development/Languages/Python URL: https://github.com/zheller/flake8-quotes/ Source: https://files.pythonhosted.org/packages/source/f/flake8-quotes/flake8-quotes-%{version}.tar.gz BuildRequires: %{python_module flake8 >= 3.5.0} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-flake8 >= 3.3.0 @@ -42,10 +42,10 @@ Flake8 Extension to lint for quotes. %setup -q -n flake8-quotes-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -57,7 +57,7 @@ Flake8 Extension to lint for quotes. %license LICENSE %dir %{python_sitelib}/flake8_quotes %{python_sitelib}/flake8_quotes/* -%dir %{python_sitelib}/flake8_quotes-%{version}-py*.egg-info -%{python_sitelib}/flake8_quotes-%{version}-py*.egg-info +%dir %{python_sitelib}/flake8_quotes-%{version}*-info +%{python_sitelib}/flake8_quotes-%{version}*-info %changelog