!7 Drop the python-nose dependency

Merge pull request !7 from xu_ping/openEuler-22.03-LTS-Next
This commit is contained in:
openeuler-ci-bot 2022-01-07 11:35:30 +00:00 committed by Gitee
commit f146c88776
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: python-enchant
Version: 2.0.0
Release: 8
Release: 9
Summary: Cygwin python-enchant packaging
License: LGPLv2+
URL: https://github.com/cygwinports/python-enchant
@ -9,7 +9,7 @@ Source0: https://files.pythonhosted.org/packages/source/p/pyenchant/pyenchant-%{
BuildArch: noarch
BuildRequires: enchant-devel
BuildRequires: python3-devel python3-setuptools python3-nose
BuildRequires: python3-devel python3-setuptools
%description
Cygwin python-enchant packaging.
@ -46,11 +46,6 @@ rm -rf %{buildroot}/%{python3_sitelib}/%{srcname}/lib
rm -rf %{buildroot}/%{python3_sitelib}/%{srcname}/share
popd
%check
pushd %{buildroot}/%{python3_sitelib}
LANG=en_US.UTF-8 /usr/bin/nosetests-3.*
popd
%files -n python3-enchant
%defattr(-,root,root)
%license LICENSE.txt
@ -63,6 +58,9 @@ popd
%doc README.txt TODO.txt
%changelog
* Wed Jan 2022 xu_ping <xuping33@huawei.com> - 2.0.0-9
- Drop the python-nose dependency
* Thu Oct 22 2020 huanghaitao <huanghaitao8@huawei.com> - 2.0.0-8
- Disable python2 module