forked from pool/python-metaextract
		
	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:
		| @@ -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> | Sun Mar 29 05:33:31 UTC 2020 - Thomas Bechtold <tbechtold@suse.com> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package python-metaextract | # 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 | # All modifications and additions to the file contributed by third parties | ||||||
| # remain the property of their copyright owners, unless otherwise agreed | # remain the property of their copyright owners, unless otherwise agreed | ||||||
| @@ -30,13 +30,12 @@ BuildRequires:  fdupes | |||||||
| BuildRequires:  python-rpm-macros | BuildRequires:  python-rpm-macros | ||||||
| # Needed even though no tests are present | # Needed even though no tests are present | ||||||
| BuildRequires:  %{python_module pbr} | BuildRequires:  %{python_module pbr} | ||||||
| BuildRequires:  %{python_module pytest-runner} |  | ||||||
| BuildRequires:  %{python_module pytest} | BuildRequires:  %{python_module pytest} | ||||||
| Requires:       python-setuptools | Requires:       python-setuptools | ||||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
| Requires(post): update-alternatives | Requires(post): update-alternatives | ||||||
| Requires(preun):  update-alternatives | Requires(preun):update-alternatives | ||||||
| %python_subpackages | %python_subpackages | ||||||
|  |  | ||||||
| %description | %description | ||||||
| @@ -48,6 +47,8 @@ The tool was first developed in py2pack but is now its own module. | |||||||
|  |  | ||||||
| %prep | %prep | ||||||
| %setup -q -n metaextract-%{version} | %setup -q -n metaextract-%{version} | ||||||
|  | # https://github.com/toabctl/metaextract/issues/13 | ||||||
|  | sed -i 's:.pytest-runner.::' setup.py | ||||||
|  |  | ||||||
| %build | %build | ||||||
| %python_build | %python_build | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user