From 096aa562dda0371be79dcc3ceed9f686f9ec16be5c371f1a4d852bcce64383b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 7 May 2021 08:54:47 +0000 Subject: [PATCH] Accepting request 890933 from home:alarrosa:branches:devel:languages:python - Remove %ifpython2 (python2 flavor is disabled). - Do not use %if %{python_version_nodots} for BuildRequires. OBS-URL: https://build.opensuse.org/request/show/890933 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=190 --- python-SQLAlchemy.changes | 6 ++++++ python-SQLAlchemy.spec | 10 ++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/python-SQLAlchemy.changes b/python-SQLAlchemy.changes index eacb33d..8ce33a2 100644 --- a/python-SQLAlchemy.changes +++ b/python-SQLAlchemy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 6 08:22:12 UTC 2021 - Antonio Larrosa + +- Remove %ifpython2 (python2 flavor is disabled). +- Do not use %if %{python_version_nodots} for BuildRequires. + ------------------------------------------------------------------- Wed May 5 16:56:39 UTC 2021 - Antonio Larrosa diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index 51d02d6..904e28f 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -46,16 +46,10 @@ Provides: python-sqlalchemy = %{version} Obsoletes: python-sqlalchemy < %{version} # SECTION test requirements BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest >= 4.4.0} -%if %{python_version_nodots} < 38 -BuildRequires: %{python_module importlib-metadata} -%endif BuildRequires: %{python_module greenlet} +BuildRequires: %{python_module importlib-metadata} +BuildRequires: %{python_module pytest >= 4.4.0} # /SECTION -%ifpython2 -Obsoletes: %{oldpython}-sqlalchemy < %{version} -Provides: %{oldpython}-sqlalchemy = %{version} -%endif %python_subpackages %description