diff --git a/python-limits.spec b/python-limits.spec index 64bfd53..d2907c8 100644 --- a/python-limits.spec +++ b/python-limits.spec @@ -5,15 +5,9 @@ # https://bugzilla.redhat.com/show_bug.cgi?id=2006555 for discussion. # # We can generate PDF documentation as a substitute. -%if 0%{?fc35} -# python3dist(sphinx-autobuild), python3dist(sphinx-copybutton), and -# python3dist(sphinx-inline-tabs) are missing or too old -%bcond_with doc_pdf -%else %bcond_without doc_pdf -%endif -%if 0%{?fc36} || 0%{?fc35} +%if 0%{?fc36} # python3dist(redis) is too old %bcond_with redis %else @@ -35,7 +29,7 @@ limiting with commonly used storage backends Name: python-%{pypi_name} Version: 2.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities to implement rate limiting using various strategies # SPDX @@ -59,7 +53,6 @@ BuildRequires: python3dist(redis) %description -n python3-%{pypi_name} %_description -%if ! 0%{?fc35} %package doc Summary: %{summary} @@ -71,7 +64,6 @@ BuildRequires: latexmk %description doc Documentation for %{name}. -%endif %if %{with async_redis} && %{with async_memcached} && %{with async_mongodb} && %{with redis} %pyproject_extras_subpkg -n python3-%{pypi_name} all @@ -115,7 +107,7 @@ sed -r -i 's/^import redis/# &/' tests/conftest.py sed -r -e 's/==/>=/' \ -e '/^[[:blank:]]*(furo|sphinx-paramlinks)/d' \ requirements/docs.txt | tee requirements/docs-filtered.txt -%if 0%{?fc36} || 0%{?fc35} +%if 0%{?fc36} # Tolerate Sphinx 4 in addition to the Sphinx 5 desired by upstream. sed -r -i -e 's/(Sphinx>=)5/\14/' requirements/docs-filtered.txt %endif @@ -178,16 +170,17 @@ m="${m-}${m+ and }not memcached" %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst -%if ! 0%{?fc35} %files doc %license LICENSE.txt %if %{with doc_pdf} %doc doc/build/latex/%{pypi_name}.pdf %endif -%endif %changelog +* Tue Dec 27 2022 Benjamin A. Beasley - 2.7.1-2 +- Drop F35 conditionals + * Sun Oct 23 2022 Benjamin A. Beasley - 2.7.1-1 - Update to 2.7.1 (close RHBZ#2136594)