17
0

Accepting request 871426 from home:mcalabkova:branches:devel:languages:python:numeric

- Get rid of %ifpython3, we could provide/obsolete more variants

OBS-URL: https://build.opensuse.org/request/show/871426
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-reportlab?expand=0&rev=26
This commit is contained in:
2021-02-12 13:55:49 +00:00
committed by Git OBS Bridge
parent 4162082e38
commit 677c16d47b
2 changed files with 7 additions and 4 deletions

View File

@@ -35,14 +35,12 @@ BuildRequires: fdupes
BuildRequires: freetype2-devel
BuildRequires: python-rpm-macros
Requires: python-Pillow >= 4.0.0
Provides: python-ReportLab = %{version}
Obsoletes: python-ReportLab < %{version}
%ifpython2
Obsoletes: %{oldpython}-ReportLab < %{version}
Provides: %{oldpython}-ReportLab = %{version}
%endif
%ifpython3
Provides: python3-ReportLab = %{version}
Obsoletes: python3-ReportLab < %{version}
%endif
%python_subpackages
%description