Drop dependency on python-nose as tests are not included

This commit is contained in:
Charalampos Stratakis 2021-01-20 17:10:44 +01:00
parent 4133a16b43
commit 951ef7d7a3

View File

@ -5,7 +5,7 @@
Name: python-enchant
Version: 3.2.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Python bindings for Enchant spellchecking library
License: LGPLv2+
@ -25,8 +25,6 @@ Summary: Python 3 bindings for Enchant spellchecking library
BuildRequires: python3-devel
BuildRequires: python3-setuptools
# For running tests
BuildRequires: python3-nose
Requires: %{enchant_dep}
@ -54,11 +52,8 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib
rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share
%check
pushd $RPM_BUILD_ROOT/%{python3_sitelib}
# There is no dictionary for language C, need to use en_US
nosetests-3
popd
# Tests are not included in the upstream tarball
#%%check
%files -n python3-%{srcname}
@ -80,6 +75,9 @@ popd
%changelog
* Wed Jan 20 2021 Charalampos Stratakis <cstratak@redhat.com> - 3.2.0-2
- Drop dependency on python-nose as tests are not included
* Wed Dec 09 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.2.0-1
- Update to 3.2.0 (rhbz#1905482)