From c2814986d967bf3b5c8e519da7448827c31bb01e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:30:56 +0100 Subject: [PATCH] bump release to fix 7.2.2-2mamba changes elision [release 7.4.0-2mamba;Thu Aug 17 2023] --- python-pytest.spec | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/python-pytest.spec b/python-pytest.spec index 35b4f25..3e11d65 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -1,6 +1,6 @@ Name: python-pytest -Version: 7.2.2 -Release: 1mamba +Version: 7.4.0 +Release: 2mamba Summary: The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries Group: System/Libraries Vendor: openmamba @@ -11,7 +11,6 @@ Source: https://pypi.debian.net/pytest/pytest-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel -BuildRequires: python3.7dist(attrs) BuildRequires: python3.7dist(exceptiongroup) BuildRequires: python3.7dist(importlib-metadata) BuildRequires: python3.7dist(iniconfig) @@ -45,13 +44,33 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?with_pyver}" != "3" +# Rename any conflicting file outside of python site packages tree +for f in %{_bindir}/{pytest,py.test}; do + mv %{buildroot}${f}{,-%{?pyappend}} +done +sed -i "\,%{_bindir}/pytest,d" %{name}.filelist +sed -i "\,%{_bindir}/py.test,d" %{name}.filelist +%endif + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%{_bindir}/py.test* +%{_bindir}/pytest* %dir %{python_sitearch}/pytest-%{version}-py*.egg-info %{python_sitearch}/pytest-%{version}-py*.egg-info/* %doc AUTHORS LICENSE %changelog +* Thu Aug 17 2023 Silvan Calarco 7.4.0-2mamba +- bump release to fix 7.2.2-2mamba changes elision + +* Thu Aug 17 2023 Silvan Calarco 7.4.0-1mamba +- update to 7.4.0 + +* Tue Aug 15 2023 Silvan Calarco 7.2.2-2mamba +- rebuilt with python 3.10 + * Sat Mar 04 2023 Automatic Build System 7.2.2-1mamba - automatic version update by autodist