15
0
forked from pool/python-Mako

Accepting request 855003 from home:bnavigator:branches:devel:languages:python

- Let the python-rpm-macros do their job for the correct provides
  and obsoletes tags for multiple python3 flavors
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/855003
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=74
This commit is contained in:
2020-12-12 12:16:59 +00:00
committed by Git OBS Bridge
parent 9e2d26f8f8
commit afdf4df8ea
2 changed files with 9 additions and 4 deletions

View File

@@ -41,14 +41,12 @@ BuildArch: noarch
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
Recommends: python-Beaker >= 1.1
%endif
Provides: python-mako = %{version}
Obsoletes: python-mako < %{version}
%ifpython2
Provides: %{oldpython}-mako = %{version}
Obsoletes: %{oldpython}-mako < %{version}
%endif
%ifpython3
Provides: python3-mako = %{version}
Obsoletes: python3-mako < %{version}
%endif
%python_subpackages
%description