From 03dd0e4fd98fdc45ac6753da2301e06978eec0f5 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 20 Mar 2025 06:21:04 -0400 Subject: [PATCH] Drop conditionals for EPEL10 and let the branches diverge --- python-OWSLib.spec | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/python-OWSLib.spec b/python-OWSLib.spec index e73f570..0ce0f91 100644 --- a/python-OWSLib.spec +++ b/python-OWSLib.spec @@ -1,6 +1,3 @@ -# Not yet in EPEL10: https://bugzilla.redhat.com/show_bug.cgi?id=2324280 -%bcond pytest_httpserver %{undefined el10} - Name: python-OWSLib Version: 0.33.0 Release: %autorelease @@ -32,9 +29,7 @@ BuildRequires: python3-devel # Tests; dependencies are in requirements-dev.txt. BuildRequires: %{py3_dist pytest} -%if %{with pytest_httpserver} BuildRequires: %{py3_dist pytest_httpserver} -%endif BuildRequires: %{py3_dist Pillow} # We don’t have pytest-socket packaged, and we can get by without it. # - pytest-socket @@ -69,11 +64,9 @@ Summary: %{summary} %py_provides python3-owslib -%if %{undefined el10} # The -doc subpackage was removed for Fedora 42; we can remove this Obsoletes # after Fedora 44. (EPEL10 never had a -doc subpackage.) Obsoletes: python-OWSLIB-doc < 0.32.0-1 -%endif %description -n python3-OWSLib %{common_description} @@ -156,10 +149,6 @@ k="${k-}${k+ and }not test_md_reference_system" k="${k-}${k+ and }not test_service2" k="${k-}${k+ and }not test_md_distribution" -%if %{without pytest_httpserver} -ignore="${ignore-} --ignore=tests/test_csw_inspire.py" -%endif - %pytest -m 'not online' -k "${k-}" ${ignore-} -v -rs