14
0

Accepting request 711318 from home:pgajdos

- run the testsuite in %check

OBS-URL: https://build.opensuse.org/request/show/711318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-metaextract?expand=0&rev=23
This commit is contained in:
2019-06-24 10:34:56 +00:00
committed by Git OBS Bridge
parent f544a4881c
commit 10080f07bc
3 changed files with 14 additions and 1 deletions

3
1.0.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:218eb4cd11c6a750513e1139e3e5869a8142eced54110d0e5d1b534d22f81df8
size 19594

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 21 12:54:53 UTC 2019 - pgajdos@suse.com
- run the testsuite in %check
-------------------------------------------------------------------
Thu Mar 7 11:11:14 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -24,12 +24,14 @@ Summary: get metadata for python modules
License: Apache-2.0
Group: Development/Languages/Python
Url: http://github.com/toabctl/metaextract
Source: https://files.pythonhosted.org/packages/source/m/metaextract/metaextract-%{version}.tar.gz
Source: https://github.com/toabctl/metaextract/archive/%{version}.tar.gz
BuildRequires: %{python_module setuptools}
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
@@ -62,6 +64,9 @@ useful for others, too.
%preun
%python_uninstall_alternative metaextract
%check
%pytest
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst