forked from pool/python-olefile
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user