- Add python-py dependency

- 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-describe?expand=0&rev=5
This commit is contained in:
2022-11-30 08:25:18 +00:00
committed by Git OBS Bridge
parent 8d7e1ad329
commit 64213a6504
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 30 08:24:00 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Add python-py dependency
- Remove python_module macro definition
- More specific python_sitelib in %files
-------------------------------------------------------------------
Mon May 2 08:00:02 UTC 2022 - Markéta Machová <mmachova@suse.com>

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-describe
Version: 2.0.1
@@ -26,9 +25,11 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-describe
Source: https://files.pythonhosted.org/packages/source/p/pytest-describe/pytest-describe-%{version}.tar.gz
BuildRequires: %{python_module py}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-py
Requires: python-pytest >= 4.0
BuildArch: noarch
# SECTION test requirements
@@ -55,6 +56,7 @@ Describe-style plugin for pytest.
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pytest_describe
%{python_sitelib}/pytest_describe-%{version}*-info
%changelog