forked from pool/python-pytest-cookies
Accepting request 1109386 from devel:languages:python:pytest
- Stop using greedy globs in %files. - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1109386 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cookies?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 7 05:26:34 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Stop using greedy globs in %files.
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 9 20:51:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue May 9 20:51:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
# cookiecutter is only available for python3
|
# cookiecutter is only available for python3
|
||||||
%define pythons python3
|
%define pythons python3
|
||||||
Name: python-pytest-cookies
|
Name: python-pytest-cookies
|
||||||
@@ -24,10 +23,11 @@ Version: 0.7.0
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cookiecutter template pytest plugin
|
Summary: Cookiecutter template pytest plugin
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/hackebrot/pytest-cookies
|
URL: https://github.com/hackebrot/pytest-cookies
|
||||||
Source: https://github.com/hackebrot/pytest-cookies/archive/%{version}.tar.gz#/pytest-cookies-%{version}.tar.gz
|
Source: https://github.com/hackebrot/pytest-cookies/archive/%{version}.tar.gz#/pytest-cookies-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: cookiecutter >= 2.1.0
|
Requires: cookiecutter >= 2.1.0
|
||||||
@@ -46,10 +46,10 @@ The pytest plugin for your Cookiecutter templates.
|
|||||||
%setup -q -n pytest-cookies-%{version}
|
%setup -q -n pytest-cookies-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -58,6 +58,7 @@ The pytest plugin for your Cookiecutter templates.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pytest_cookies
|
||||||
|
%{python_sitelib}/pytest_cookies-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user