From b50621d85af283fa4e4b0d86f64d2a7588c433b990cbfa5d5aeaacf5df7da53c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 22 May 2017 08:46:28 +0000 Subject: [PATCH] Accepting request 493155 from devel:languages:python 1 OBS-URL: https://build.opensuse.org/request/show/493155 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-reportlab?expand=0&rev=17 --- python-reportlab.changes | 5 +++++ python-reportlab.spec | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/python-reportlab.changes b/python-reportlab.changes index c81d43c..0c18d17 100644 --- a/python-reportlab.changes +++ b/python-reportlab.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com + +- Fix Provides/Obsoletes. + ------------------------------------------------------------------- Wed Apr 19 20:33:58 UTC 2017 - toddrme2178@gmail.com diff --git a/python-reportlab.spec b/python-reportlab.spec index 906b929..2a4e67f 100644 --- a/python-reportlab.spec +++ b/python-reportlab.spec @@ -19,6 +19,7 @@ %bcond_without tests %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-reportlab Version: 3.4.0 Release: 0 @@ -37,8 +38,14 @@ BuildRequires: %{python_module Pillow} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} Requires: python-Pillow -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