Drop dependency on python-nose as tests are not included
This commit is contained in:
parent
4133a16b43
commit
951ef7d7a3
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: python-enchant
|
Name: python-enchant
|
||||||
Version: 3.2.0
|
Version: 3.2.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Python bindings for Enchant spellchecking library
|
Summary: Python bindings for Enchant spellchecking library
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -25,8 +25,6 @@ Summary: Python 3 bindings for Enchant spellchecking library
|
|||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
# For running tests
|
|
||||||
BuildRequires: python3-nose
|
|
||||||
|
|
||||||
Requires: %{enchant_dep}
|
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
|
rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share
|
||||||
|
|
||||||
|
|
||||||
%check
|
# Tests are not included in the upstream tarball
|
||||||
pushd $RPM_BUILD_ROOT/%{python3_sitelib}
|
#%%check
|
||||||
# There is no dictionary for language C, need to use en_US
|
|
||||||
nosetests-3
|
|
||||||
popd
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
@ -80,6 +75,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Dec 09 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.2.0-1
|
||||||
- Update to 3.2.0 (rhbz#1905482)
|
- Update to 3.2.0 (rhbz#1905482)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user