forked from pool/python-Jinja2
Accepting request 905239 from home:bnavigator:branches:devel:languages:python
As requested: - clean up single-spec: Remove python2 remnants OBS-URL: https://build.opensuse.org/request/show/905239 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=91
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 9 11:03:56 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- clean up single-spec: Remove python2 remnants
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 13 13:55:29 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user