From 1b6fabf5e27c325ae7cc36a9ad07db97069a279297b8db643255a63e4d8d84ec Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 9 Dec 2021 00:26:57 +0000 Subject: [PATCH] Accepting request 936496 from home:pgajdos:python - do not require pytest-runner for build, it is not needed OBS-URL: https://build.opensuse.org/request/show/936496 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-metaextract?expand=0&rev=33 --- python-metaextract.changes | 5 +++++ python-metaextract.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-metaextract.changes b/python-metaextract.changes index 42878fb..b45abba 100644 --- a/python-metaextract.changes +++ b/python-metaextract.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 8 12:34:45 UTC 2021 - pgajdos@suse.com + +- do not require pytest-runner for build, it is not needed + ------------------------------------------------------------------- Sun Mar 29 05:33:31 UTC 2020 - Thomas Bechtold diff --git a/python-metaextract.spec b/python-metaextract.spec index ab1dfb3..21cacf9 100644 --- a/python-metaextract.spec +++ b/python-metaextract.spec @@ -1,7 +1,7 @@ # # spec file for package python-metaextract # -# Copyright (c) 2020 SUSE LLC +# 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 @@ -30,13 +30,12 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros # Needed even though no tests are present BuildRequires: %{python_module pbr} -BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} Requires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(post): update-alternatives +Requires(preun):update-alternatives %python_subpackages %description @@ -48,6 +47,8 @@ The tool was first developed in py2pack but is now its own module. %prep %setup -q -n metaextract-%{version} +# https://github.com/toabctl/metaextract/issues/13 +sed -i 's:.pytest-runner.::' setup.py %build %python_build