15
0

Accepting request 743990 from devel:languages:python

- Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/request/show/743990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-olefile?expand=0&rev=6
This commit is contained in:
2019-11-04 16:10:52 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 14 14:01:01 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
Thu Apr 11 18:36:34 UTC 2019 - pgajdos@suse.com

View File

@@ -23,19 +23,17 @@ Version: 0.46
Release: 0
Summary: Python package to read and write Microsoft OLE2 files
License: BSD-2-Clause AND HPND
Group: Development/Languages/Python
Url: https://github.com/decalage2/olefile
URL: https://github.com/decalage2/olefile
Source: https://files.pythonhosted.org/packages/source/o/olefile/olefile-%{version}.zip
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildArch: noarch
%ifpython2
Provides: %{oldpython}-OleFileIO_PL = %{version}
Obsoletes: %{oldpython}-OleFileIO_PL <= 0.26
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -56,7 +54,7 @@ sed -i 's/\r$//' doc/License.rst
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test