From 7164653bee5b0fc2f422919788a2e4a75440f8b7a6f955efc4cb4280dc229c2a Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 27 Apr 2017 21:06:48 +0000 Subject: [PATCH] Accepting request 491708 from home:TheBlackCat:branches:devel:languages:python Provide/obsolete python(2|3)-OleFileIO_PL OBS-URL: https://build.opensuse.org/request/show/491708 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-olefile?expand=0&rev=2 --- python-olefile.changes | 5 +++++ python-olefile.spec | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/python-olefile.changes b/python-olefile.changes index befe906..4efe3a3 100644 --- a/python-olefile.changes +++ b/python-olefile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 27 21:03:01 UTC 2017 - toddrme2178@gmail.com + +- Provide/obsolete python(2|3)-OleFileIO_PL + ------------------------------------------------------------------- Wed Apr 12 17:47:15 UTC 2017 - toddrme2178@gmail.com diff --git a/python-olefile.spec b/python-olefile.spec index cfab45f..9df3650 100644 --- a/python-olefile.spec +++ b/python-olefile.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-olefile Version: 0.44 Release: 0 @@ -32,6 +33,12 @@ BuildRequires: %{python_module setuptools} BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +Provides: python-OleFileIO_PL = %{version} +Obsoletes: python-OleFileIO_PL <= 0.26 +%ifpython2 +Provides: %{oldpython}-OleFileIO_PL = %{version} +Obsoletes: %{oldpython}-OleFileIO_PL <= 0.26 +%endif %python_subpackages %description