- Use python_module macro for BuildRequires when available.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=22
This commit is contained in:
Matej Cepl 2020-11-04 00:13:29 +00:00 committed by Git OBS Bridge
parent 5d8ec5dfd8
commit 82125f39e1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 4 00:11:53 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Use python_module macro for BuildRequires when available.
-------------------------------------------------------------------
Thu Oct 15 12:51:36 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -37,7 +37,7 @@ BuildRequires: python-typing >= 3.7.4
BuildRequires: python3-typing >= 3.7.4
%endif
%if 0%{?suse_version} > 1320
BuildRequires: python3-testsuite
BuildRequires: %{python_module testsuite}
%endif
%if %{python3_version_nodots} < 35
Requires: python-typing >= 3.7.4