From 677c16d47ba81dda9cdb2f54df30be4121f2ca96253733bcbb2190d18be689ea Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 12 Feb 2021 13:55:49 +0000 Subject: [PATCH] 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 --- python-reportlab.changes | 5 +++++ python-reportlab.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python-reportlab.changes b/python-reportlab.changes index 1f71ab1..6f480dd 100644 --- a/python-reportlab.changes +++ b/python-reportlab.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 12 12:36:15 UTC 2021 - Markéta Machová + +- Get rid of %ifpython3, we could provide/obsolete more variants + ------------------------------------------------------------------- Mon Jan 11 12:31:13 UTC 2021 - Antonio Larrosa diff --git a/python-reportlab.spec b/python-reportlab.spec index 09b7ec2..0e05ed8 100644 --- a/python-reportlab.spec +++ b/python-reportlab.spec @@ -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