Enable tests
Resolves: rhbz#2157707
This commit is contained in:
parent
3b7633f050
commit
ffa21f4e71
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: python%{python3_pkgversion}-iniconfig
|
Name: python%{python3_pkgversion}-iniconfig
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Brain-dead simple parsing of ini files
|
Summary: Brain-dead simple parsing of ini files
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/RonnyPfannschmidt/iniconfig
|
URL: http://github.com/RonnyPfannschmidt/iniconfig
|
||||||
@ -16,7 +16,7 @@ BuildRequires: python%{python3_pkgversion}-wheel
|
|||||||
Source0: %{pypi_source iniconfig}
|
Source0: %{pypi_source iniconfig}
|
||||||
|
|
||||||
# pytest 6+ needs this and this uses pytest for tests
|
# pytest 6+ needs this and this uses pytest for tests
|
||||||
%bcond_with tests
|
%bcond_without tests
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: python%{python3_pkgversion}-pytest
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
@ -69,6 +69,9 @@ sed -i "s/ *use_scm_version=.*,/version='%{version}',/" setup.py
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 01 2023 Charalampos Stratakis <cstratak@redhat.com> - 1.1.1-2
|
||||||
|
- Enable tests
|
||||||
|
|
||||||
* Fri Dec 02 2022 Charalampos Stratakis <cstratak@redhat.com> - 1.1.1-1
|
* Fri Dec 02 2022 Charalampos Stratakis <cstratak@redhat.com> - 1.1.1-1
|
||||||
- Initial package
|
- Initial package
|
||||||
- Fedora contributions by:
|
- Fedora contributions by:
|
||||||
|
Loading…
Reference in New Issue
Block a user