Enable tests

This commit is contained in:
Charalampos Stratakis 2023-11-14 02:22:35 +01:00 committed by Miro Hrončok
parent 8ceb42e667
commit ba1bcc6907

View File

@ -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
# SPDX # SPDX
License: MIT License: MIT
@ -15,7 +15,7 @@ BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-wheel BuildRequires: python%{python3_pkgversion}-wheel
# 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}
# We BR pytest manually to avoid a dependency on tox in ELN/RHEL # We BR pytest manually to avoid a dependency on tox in ELN/RHEL
@ -71,6 +71,9 @@ sed -i "s/ *use_scm_version=.*,/version='%{version}',/" setup.py
%changelog %changelog
* Tue Nov 14 2023 Charalampos Stratakis <cstratak@redhat.com> - 1.1.1-2
- Enable tests
* Tue Oct 17 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.1.1-1 * Tue Oct 17 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.1.1-1
- Initial package - Initial package
- Fedora contributions by: - Fedora contributions by: