diff --git a/python-filelock.changes b/python-filelock.changes index a096cb9..8b0337c 100644 --- a/python-filelock.changes +++ b/python-filelock.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Fri Sep 8 04:17:12 UTC 2023 - Steve Kowalik +Fri Sep 8 04:26:16 UTC 2023 - Steve Kowalik - Add missing Requires on typing-extensions if < 3.11 diff --git a/python-filelock.spec b/python-filelock.spec index 5765d39..10ad1e8 100644 --- a/python-filelock.spec +++ b/python-filelock.spec @@ -33,7 +33,9 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: (python3-typing_extensions >= 4.7.1 if python3-base < 3.11) +%if 0%{?python_version_nodots} < 311 +Requires: python-typing_extensions >= 4.7.1 +%endif BuildArch: noarch %python_subpackages