15
0

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
This commit is contained in:
Todd R
2017-04-27 21:06:48 +00:00
committed by Git OBS Bridge
parent 83eafcd097
commit 7164653bee
2 changed files with 12 additions and 0 deletions

View File

@@ -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