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