From 1d5ab94d01787caa57a3c2288032a1b3ef7304e2 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 10 Mar 2021 17:31:12 +0100 Subject: [PATCH] Disable tests on RHEL9 to avoid pulling in the test dependencies --- python-toml.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python-toml.spec b/python-toml.spec index 0e3b732..2c32792 100644 --- a/python-toml.spec +++ b/python-toml.spec @@ -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 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 \ @@ -7,7 +11,7 @@ toml file. Name: python-%{pypi_name} Version: 0.10.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python Library for Tom's Obvious, Minimal Language License: MIT @@ -19,7 +23,6 @@ BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: pyproject-rpm-macros -%bcond_without tests %if %{with tests} BuildRequires: /usr/bin/toml-test %endif @@ -71,6 +74,9 @@ toml-test $(pwd)/tests/decoding_test3.sh %changelog +* Wed Mar 10 2021 Charalampos Stratakis - 0.10.2-3 +- Disable tests on RHEL9 to avoid pulling in the test dependencies + * Wed Jan 27 2021 Fedora Release Engineering - 0.10.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild