From 35d5a70fd489376bf3b7d978c8c9fb667e7655b4a7fa8b602658f9e8e5d028f1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 27 May 2021 10:00:39 +0000 Subject: [PATCH 1/2] Accepting request 895703 from home:pgajdos:python setup.py test replacement OBS-URL: https://build.opensuse.org/request/show/895703 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-olefile?expand=0&rev=15 --- python-olefile.changes | 5 +++++ python-olefile.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-olefile.changes b/python-olefile.changes index a8c6c22..cf1506f 100644 --- a/python-olefile.changes +++ b/python-olefile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-olefile.spec b/python-olefile.spec index ee0706b..c15ddcd 100644 --- a/python-olefile.spec +++ b/python-olefile.spec @@ -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 @@ -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 From a8de71acc5f3cb5beaee95a54935b77b21b56b81928d453dd4b2474fdbfd7987 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 27 May 2021 10:03:04 +0000 Subject: [PATCH 2/2] - Fix README.rst EOL issues as well. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-olefile?expand=0&rev=16 --- python-olefile.changes | 5 +++++ python-olefile.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-olefile.changes b/python-olefile.changes index cf1506f..d27c372 100644 --- a/python-olefile.changes +++ b/python-olefile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 27 10:02:58 UTC 2021 - Matej Cepl + +- Fix README.rst EOL issues as well. + ------------------------------------------------------------------- Wed May 26 09:16:10 UTC 2021 - pgajdos@suse.com diff --git a/python-olefile.spec b/python-olefile.spec index c15ddcd..b6f4d3b 100644 --- a/python-olefile.spec +++ b/python-olefile.spec @@ -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