Disable tests on RHEL9 to avoid pulling in the test dependencies
This commit is contained in:
parent
1dac96037e
commit
1d5ab94d01
@ -1,3 +1,7 @@
|
|||||||
|
# Disable tests on RHEL9 as to not pull in the test dependencies
|
||||||
|
# Specify --with tests to run the tests e.g. on EPEL
|
||||||
|
%bcond_with tests
|
||||||
|
|
||||||
%global pypi_name toml
|
%global pypi_name toml
|
||||||
%global desc TOML aims to be a minimal configuration file format that's easy to read due to \
|
%global desc TOML aims to be a minimal configuration file format that's easy to read due to \
|
||||||
obvious semantics. TOML is designed to map unambiguously to a hash table. TOML \
|
obvious semantics. TOML is designed to map unambiguously to a hash table. TOML \
|
||||||
@ -7,7 +11,7 @@ toml file.
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.10.2
|
Version: 0.10.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Python Library for Tom's Obvious, Minimal Language
|
Summary: Python Library for Tom's Obvious, Minimal Language
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -19,7 +23,6 @@ BuildArch: noarch
|
|||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: pyproject-rpm-macros
|
BuildRequires: pyproject-rpm-macros
|
||||||
|
|
||||||
%bcond_without tests
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: /usr/bin/toml-test
|
BuildRequires: /usr/bin/toml-test
|
||||||
%endif
|
%endif
|
||||||
@ -71,6 +74,9 @@ toml-test $(pwd)/tests/decoding_test3.sh
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 10 2021 Charalampos Stratakis <cstratak@redhat.com> - 0.10.2-3
|
||||||
|
- Disable tests on RHEL9 to avoid pulling in the test dependencies
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-2
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user