forked from pool/python-pytest-describe
- 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:
@@ -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>
|
Mon May 2 08:00:02 UTC 2022 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-pytest-describe
|
Name: python-pytest-describe
|
||||||
Version: 2.0.1
|
Version: 2.0.1
|
||||||
@@ -26,9 +25,11 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/pytest-dev/pytest-describe
|
URL: https://github.com/pytest-dev/pytest-describe
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-describe/pytest-describe-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-describe/pytest-describe-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module py}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-py
|
||||||
Requires: python-pytest >= 4.0
|
Requires: python-pytest >= 4.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
@@ -55,6 +56,7 @@ Describe-style plugin for pytest.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pytest_describe
|
||||||
|
%{python_sitelib}/pytest_describe-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user