diff --git a/tests/python-dns-lexicon.spec b/tests/python-dns-lexicon.spec index 94c4903..4b182d1 100644 --- a/tests/python-dns-lexicon.spec +++ b/tests/python-dns-lexicon.spec @@ -1,14 +1,5 @@ Name: python-dns-lexicon - -# For testing purposes, we package different versions on different Fedoras, -# because otherwise we would miss some dependencies. -# Please, don't write spec files like this in Fedora, it is forbidden. -%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9 Version: 3.8.1 -%else -Version: 3.4.0 -%endif - Release: 0%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT diff --git a/tests/python-pytest.spec b/tests/python-pytest.spec index 87cbcc2..9693fcd 100644 --- a/tests/python-pytest.spec +++ b/tests/python-pytest.spec @@ -1,15 +1,6 @@ %global pypi_name pytest Name: python-%{pypi_name} - -# For testing purposes, we package different versions on different Fedoras, -# because otherwise we would miss some dependencies (pytest 6.2 needs tox 3.20+) -# Please, don't write spec files like this in Fedora, it is forbidden. -%if 0%{?fedora} > 33 || 0%{?rhel} > 9 Version: 6.2.5 -%else -Version: 4.4.2 -%endif - Release: 0%{?dist} Summary: Simple powerful testing with Python License: MIT