Execute the tests at build time

This commit is contained in:
Pino Toscano 2020-04-02 12:02:30 +02:00
parent 33606eba22
commit 0b2a885f8b

View File

@ -10,6 +10,8 @@ BuildArch: noarch
BuildRequires: python3-setuptools
BuildRequires: python3-devel
BuildRequires: augeas
BuildRequires: python3-pytest
%description
python-augeas is a set of Python bindings around augeas.
@ -34,6 +36,9 @@ python3-augeas is a set of Python bindings around augeas.
%install
%{py3_install}
%check
pytest-3
%files -n python3-augeas
%license COPYING
%doc AUTHORS README.txt
@ -46,6 +51,7 @@ python3-augeas is a set of Python bindings around augeas.
* Thu Apr 02 2020 Pino Toscano <ptoscano@redhat.com> - 0.5.0-20
- Backport upstream commit d93e1563add8c40450556b7d74520439ee792bd9 to fix
the discovery of location in the test
- Execute the tests at build time
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild