- Add python-py dep

- Remove python_module macro definition
- More specific python_sitelib in %files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-flake8?expand=0&rev=14
This commit is contained in:
2022-11-30 08:30:28 +00:00
committed by Git OBS Bridge
parent 924f0b5d45
commit d17f51ecd3
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 30 08:29:38 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Add python-py dep
- Remove python_module macro definition
- More specific python_sitelib in %files
-------------------------------------------------------------------
Thu Sep 8 04:38:54 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-flake8
Version: 1.1.1
Release: 0
@@ -28,10 +27,12 @@ Source: https://files.pythonhosted.org/packages/source/p/pytest-flake8/p
Patch0: support-flake8-5.patch
BuildRequires: %{python_module flake8 >= 5.0}
BuildRequires: %{python_module pytest >= 3.5}
BuildRequires: %{python_module py}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-flake8 >= 5.0
Requires: python-py
Requires: python-pytest >= 3.5
BuildArch: noarch
%python_subpackages
@@ -55,6 +56,8 @@ Plugin for py.test for efficiently checking PEP8 compliance.
%files %{python_files}
%license LICENSE
%doc CHANGELOG README.rst
%{python_sitelib}/*
%pycache_only %{python_sitelib}/__pycache__/*.pyc
%{python_sitelib}/pytest_flake8.py
%{python_sitelib}/pytest_flake8-%{version}*-info
%changelog