Drop the python-nose dependency

Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
cherry530 2022-01-05 19:36:47 +08:00
parent e42bfa0a93
commit 4a84763be2

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