| |
@@ -2,7 +2,7 @@
|
| |
|
| |
Name: python-configargparse
|
| |
Version: 0.14.0
|
| |
- Release: 5%{?dist}
|
| |
+ Release: 6%{?dist}
|
| |
Summary: A Python module with support for argparse, config files, and env variables
|
| |
|
| |
License: MIT
|
| |
@@ -11,6 +11,7 @@
|
| |
Buildarch: noarch
|
| |
|
| |
BuildRequires: python3-devel
|
| |
+ BuildRequires: python3-pytest
|
| |
BuildRequires: python3-setuptools
|
| |
|
| |
%description
|
| |
@@ -44,6 +45,9 @@
|
| |
%install
|
| |
%py3_install
|
| |
|
| |
+ %check
|
| |
+ pytest-3
|
| |
+
|
| |
%files -n python3-configargparse
|
| |
%doc README.rst
|
| |
%license LICENSE
|
| |
@@ -52,6 +56,9 @@
|
| |
%{python3_sitelib}/__pycache__/configargparse*
|
| |
|
| |
%changelog
|
| |
+ * Wed May 06 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 0.14.0-6
|
| |
+ - run tests in %%check
|
| |
+
|
| |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-5
|
| |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
| |
|
| |
Let's run the test suite whenever the package is built to catch the most blatant errors at least.
If no one objects I'll merge this in a few days. I'm not sure which branch handling you like (separate branches vs. merges) so I just added a separate commit for EPEL 8 (I don't need a version upgrade).