diff --git a/python-Jinja2.changes b/python-Jinja2.changes index 5a8d247..9a28258 100644 --- a/python-Jinja2.changes +++ b/python-Jinja2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 9 11:03:56 UTC 2021 - Ben Greiner + +- clean up single-spec: Remove python2 remnants + ------------------------------------------------------------------- Sun Jun 13 13:55:29 UTC 2021 - Michael Ströder diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 65c3a60..8375806 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -21,9 +21,8 @@ %else %bcond_without test %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define oldpython python Name: python-Jinja2 Version: 3.0.1 Release: 0 @@ -41,13 +40,8 @@ Requires: python-Babel >= 0.8 Requires: python-MarkupSafe >= 0.23 # Do not declare buildarch as the tests are arch specific #BuildArch: noarch -%ifpython2 -Provides: %{oldpython}-jinja2 = %{version} -Obsoletes: %{oldpython}-jinja2 < %{version} -%endif -%ifpython3 -Provides: python3-jinja2 = %{version}-%{release} -%endif +Provides: python-jinja2 = %{version}-%{release} +Obsoletes: python-jinja2 < %{version}-%{release} %python_subpackages %description