From d17f51ecd39841a0bbbb44f98172346ff315dc358c7bb7533ff47908d4f11403 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 30 Nov 2022 08:30:28 +0000 Subject: [PATCH] - 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 --- python-pytest-flake8.changes | 7 +++++++ python-pytest-flake8.spec | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/python-pytest-flake8.changes b/python-pytest-flake8.changes index eeae665..38b3113 100644 --- a/python-pytest-flake8.changes +++ b/python-pytest-flake8.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Nov 30 08:29:38 UTC 2022 - Daniel Garcia + +- 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 diff --git a/python-pytest-flake8.spec b/python-pytest-flake8.spec index ba456ce..088a1f3 100644 --- a/python-pytest-flake8.spec +++ b/python-pytest-flake8.spec @@ -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