diff --git a/python-mypy.spec b/python-mypy.spec index d2b65193c05a28544e68f514a97f7f1bef4ae72b..94052efba0e9b849a34f80e7308dcba4a372694f 100644 --- a/python-mypy.spec +++ b/python-mypy.spec @@ -1,13 +1,15 @@ %global _empty_manifest_terminate_build 0 Name: python-mypy Version: 0.982 -Release: 1 +Release: 2 Summary: Optional static typing for Python License: MIT and Python-2.0 URL: https://github.com/python/mypy Source0: https://github.com/python/mypy/archive/refs/tags/v%{version}.tar.gz -Requires: python3-typed-ast +%if 0%{?python3_version_nodots} && %{?python3_version_nodots} < 308 +Requires: python3-typed-ast +%endif Requires: python3-typing-extensions Requires: python3-mypy-extensions Requires: python3-psutil @@ -90,6 +92,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %{_mandir}/man1/stubgen.1* %changelog +* Thu Apr 25 2024 Han Guangyu - 0.982-2 +- Drop redundant Requires python3-typed-ast when python version >= 3.8 + * Thu Apr 11 2024 wangjing - 0.982-1 - update package of version 0.982 - Restore Type vs Callable special-casing that was broken in refactoring