Update to latest upstream release (closes rhbz#2196751, closes rhbz#2203842)
This commit is contained in:
+15
-14
@@ -1,8 +1,8 @@
|
||||
%global pypi_name pytest-subtests
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.10.0
|
||||
Release: 5%{?dist}
|
||||
Version: 0.12.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Support for unittest subTest() and subtests fixture
|
||||
|
||||
# SPDX
|
||||
@@ -18,10 +18,8 @@ pytest-subtests unittest subTest() support and subtests fixture.
|
||||
Summary: %{summary}
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
BuildRequires: python3-attrs
|
||||
BuildRequires: python3dist(pytest)
|
||||
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
@@ -29,13 +27,16 @@ pytest-subtests unittest subTest() support and subtests fixture.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
%pyproject_save_files pytest_subtests
|
||||
|
||||
%check
|
||||
# https://github.com/pytest-dev/pytest-subtests/issues/21
|
||||
@@ -43,14 +44,14 @@ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
||||
pytest-%{python3_version} -v tests \
|
||||
-k "not TestFixture and not TestCapture and not test_simple_terminal"
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
||||
%doc CHANGELOG.rst README.rst
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/__pycache__/*
|
||||
%{python3_sitelib}/pytest_subtests.py
|
||||
%{python3_sitelib}/pytest_subtests-%{version}-py*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Mon Apr 08 2024 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.1
|
||||
- Update to latest upstream release (closes rhbz#2196751, closes rhbz#2203842)
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
|
||||
Reference in New Issue
Block a user