14
0
forked from pool/python-black

Accepting request 853335 from home:bnavigator:branches:devel:languages:python

- Fix Python 3.6 for Leap 15.2 and for the upcoming python36 flavor
  in Tumbleweed: Requires python-dataclasses
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/853335
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=23
This commit is contained in:
2020-12-06 17:34:55 +00:00
committed by Git OBS Bridge
parent 0262806461
commit 81a7ce48de
2 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Dec 5 23:44:07 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Fix Python 3.6 for Leap 15.2 and for the upcoming python36 flavor
in Tumbleweed: Requires python-dataclasses
gh#openSUSE/python-rpm-macros#66
-------------------------------------------------------------------
Fri Sep 4 12:19:10 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -40,6 +40,8 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml >= 0.10.1}
BuildRequires: %{python_module typed-ast >= 1.4.0}
BuildRequires: %{python_module typing_extensions}
BuildRequires: (python36-dataclasses if python36-base)
BuildRequires: (python3-dataclasses if python3-base < 3.7)
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-aiohttp >= 3.3.2
@@ -53,6 +55,9 @@ Requires: python-regex >= 2020.1.8
Requires: python-toml >= 0.10.1
Requires: python-typed-ast >= 1.4.0
Requires: python-typing_extensions
%if 0%{?python_version_nodots} == 36
Requires: python-dataclasses
%endif
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch