diff --git a/1.0.5.tar.gz b/1.0.5.tar.gz new file mode 100644 index 0000000..cf6bc8a --- /dev/null +++ b/1.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:218eb4cd11c6a750513e1139e3e5869a8142eced54110d0e5d1b534d22f81df8 +size 19594 diff --git a/python-metaextract.changes b/python-metaextract.changes index 1ae167a..3ddd1d0 100644 --- a/python-metaextract.changes +++ b/python-metaextract.changes @@ -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 diff --git a/python-metaextract.spec b/python-metaextract.spec index 0991677..cea8c74 100644 --- a/python-metaextract.spec +++ b/python-metaextract.spec @@ -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