Drop conditionals for EPEL10 and let the branches diverge

This commit is contained in:
Benjamin A. Beasley 2025-03-20 06:21:04 -04:00
commit 03dd0e4fd9

View file

@ -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 dont 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