From b8e741e90aaa80e524fbfc1f5a48f00a5652cd73bc915fba1f3fe5b5036db3d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 1 Apr 2021 10:32:08 +0000 Subject: [PATCH] Accepting request 882451 from home:bnavigator:branches:devel:languages:python - make build requirement specification fit for python39 flavor OBS-URL: https://build.opensuse.org/request/show/882451 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=18 --- python-pyee.changes | 5 +++++ python-pyee.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pyee.changes b/python-pyee.changes index 178eb82..d379aec 100644 --- a/python-pyee.changes +++ b/python-pyee.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 31 14:14:22 UTC 2021 - Ben Greiner + +- make build requirement specification fit for python39 flavor + ------------------------------------------------------------------- Mon Jan 18 22:37:12 UTC 2021 - Benjamin Greiner diff --git a/python-pyee.spec b/python-pyee.spec index a433418..2994132 100644 --- a/python-pyee.spec +++ b/python-pyee.spec @@ -35,8 +35,8 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Twisted} BuildRequires: %{python_module pytest-asyncio} -BuildRequires: (python38-pytest-trio if python38-base else (python3-pytest-trio if python3-base >= 3.7)) -BuildRequires: (python38-trio if python38-base else (python3-trio if python3-base >= 3.7)) +BuildRequires: %{python_module pytest-trio if %python-base >= 3.7} +BuildRequires: %{python_module trio if %python-base >= 3.7} # /SECTION %python_subpackages