14
0

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
This commit is contained in:
2021-12-09 00:26:57 +00:00
committed by Git OBS Bridge
parent d9fda644ee
commit 1b6fabf5e2
2 changed files with 10 additions and 4 deletions

View File

@@ -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 <tbechtold@suse.com>

View File

@@ -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