Check with pytest instead of nose

Remove build dependency on coverage
This commit is contained in:
Christian Heimes 2021-02-03 16:33:54 +01:00
parent 50c60bcfb7
commit 0664479713

View File

@ -6,7 +6,7 @@
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 0.14.0 Version: 0.14.0
Release: 4%{?dist} Release: 5%{?dist}
Summary: Lesscss compiler Summary: Lesscss compiler
License: MIT License: MIT
@ -31,8 +31,7 @@ Requires: python3-six
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-ply BuildRequires: python3-ply
BuildRequires: python3-nose BuildRequires: python3-pytest
BuildRequires: python3-coverage
BuildRequires: python3-six BuildRequires: python3-six
%{?python_provide:%python_provide python3-lesscpy} %{?python_provide:%python_provide python3-lesscpy}
@ -58,7 +57,7 @@ ln -s ./lesscpy %{buildroot}/%{_bindir}/py3-lesscpy
%check %check
%{__python3} -m nose -v %pytest
%files -n python3-lesscpy %files -n python3-lesscpy
@ -70,6 +69,10 @@ ln -s ./lesscpy %{buildroot}/%{_bindir}/py3-lesscpy
%changelog %changelog
* Wed Feb 03 2021 Christian Heimes <cheimes@redhat.com> - 0.14.0-5
- Check with pytest instead of nose
- Remove build dependency on coverage
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-4 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild