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