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