forked from pool/python-olefile
Accepting request 627921 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.45.1 * overwrite streams of any size * improved handling of malformed files * fixed several bugs * end of support for Python 2.6 and 3.3. OBS-URL: https://build.opensuse.org/request/show/627921 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-olefile?expand=0&rev=6
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-olefile
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,26 +17,26 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
%define oldpython python
|
||||
Name: python-olefile
|
||||
Version: 0.44
|
||||
Version: 0.45.1
|
||||
Release: 0
|
||||
Summary: Read and write Microsoft OLE2 files
|
||||
License: BSD-2-Clause and HPND
|
||||
Group: Development/Languages/Python
|
||||
Url: https://www.decalage.info/python/olefileio
|
||||
Url: https://github.com/decalage2/olefile
|
||||
Source: https://files.pythonhosted.org/packages/source/o/olefile/olefile-%{version}.zip
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-OleFileIO_PL = %{version}
|
||||
Obsoletes: %{oldpython}-OleFileIO_PL <= 0.26
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -59,9 +59,12 @@ sed -i 's/\r$//' doc/License.rst
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md doc/License.rst
|
||||
%doc CONTRIBUTORS.txt README.md README.rst README.html
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user