15
0

Accepting request 895729 from devel:languages:python

- Fix README.rst EOL issues as well.

- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/895729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-olefile?expand=0&rev=7
This commit is contained in:
2021-06-01 08:34:16 +00:00
committed by Git OBS Bridge
2 changed files with 13 additions and 3 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu May 27 10:02:58 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Fix README.rst EOL issues as well.
-------------------------------------------------------------------
Wed May 26 09:16:10 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Mon Oct 14 14:01:01 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-olefile
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -47,7 +47,7 @@ formats, McAfee antivirus quarantine files, etc.
%prep
%setup -q -n olefile-%{version}
# Fix wrong-file-end-of-line-encoding
sed -i 's/\r$//' doc/License.rst
sed -i 's/\r$//' doc/License.rst README.rst
%build
%python_build
@@ -57,7 +57,7 @@ sed -i 's/\r$//' doc/License.rst
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pyunittest discover -v
%files %{python_files}
%doc CONTRIBUTORS.txt README.md README.rst README.html