| |
@@ -9,8 +9,8 @@
|
| |
and efficiently checking for PEP8 compliance of a project.
|
| |
|
| |
Name: python-%{pypi_name}
|
| |
- Version: 1.0.6
|
| |
- Release: 7%{?dist}
|
| |
+ Version: 1.1.1
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Plugin for pytest to check PEP8 compliance with Flake8
|
| |
|
| |
License: BSD
|
| |
@@ -19,9 +19,6 @@
|
| |
BuildArch: noarch
|
| |
|
| |
BuildRequires: python3-devel
|
| |
- BuildRequires: python3dist(flake8) >= 3.5
|
| |
- BuildRequires: python3dist(pytest) >= 3.5
|
| |
- BuildRequires: python3dist(setuptools)
|
| |
|
| |
%description %{desc}
|
| |
|
| |
@@ -37,27 +34,31 @@
|
| |
# Remove bundled egg-info
|
| |
rm -rf %{pypi_name}.egg-info
|
| |
|
| |
+ %generate_buildrequires
|
| |
+ %pyproject_buildrequires
|
| |
+
|
| |
|
| |
%build
|
| |
- %py3_build
|
| |
+ %pyproject_wheel
|
| |
|
| |
|
| |
%install
|
| |
- %py3_install
|
| |
+ %pyproject_install
|
| |
+ %pyproject_save_files pytest_flake8
|
| |
|
| |
|
| |
%check
|
| |
%pytest
|
| |
|
| |
|
| |
- %files -n python3-%{pypi_name}
|
| |
- %license LICENSE
|
| |
+ %files -n python3-%{pypi_name} -f %{pyproject_files}
|
| |
+ # license file included in %%pyproject_files
|
| |
%doc README.rst
|
| |
- %{python3_sitelib}/__pycache__/*
|
| |
- %{python3_sitelib}/pytest_flake8.py
|
| |
- %{python3_sitelib}/pytest_flake8-%{version}-py%{python3_version}.egg-info/
|
| |
|
| |
%changelog
|
| |
+ * Mon Jun 20 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 1.1.1-1
|
| |
+ - update to 1.1.1
|
| |
+
|
| |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.6-7
|
| |
- Rebuilt for Python 3.11
|
| |
|
| |
fixes:
- https://bugzilla.redhat.com/show_bug.cgi?id=1908581
- https://bugzilla.redhat.com/show_bug.cgi?id=2046905
- https://bugzilla.redhat.com/show_bug.cgi?id=2099083