!6 [sync] PR-5: 【缺少编译依赖】22.03:LTS:Next分支缺少编译依赖python3-nose
From: @openeuler-sync-bot Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
d4197b3ae4
@ -1,13 +1,13 @@
|
||||
Name: python-sphinxcontrib-spelling
|
||||
Version: 4.2.1
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Sphinx-based documentation spell checker
|
||||
License: BSD
|
||||
URL: https://github.com/sphinx-contrib/spelling
|
||||
Source0: https://files.pythonhosted.org/packages/f8/72/dc6b84c1602bde635e1bc7056cdb4c82da1068ba3768f79a263fc798b411/sphinxcontrib-spelling-4.2.1.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools python%{python3_pkgversion}-devel python%{python3_pkgversion}-pbr
|
||||
BuildRequires: python%{python3_pkgversion}-nose python%{python3_pkgversion}-fixtures python%{python3_pkgversion}-six
|
||||
BuildRequires: python%{python3_pkgversion}-fixtures python%{python3_pkgversion}-six
|
||||
BuildRequires: python%{python3_pkgversion}-enchant python%{python3_pkgversion}-sphinx hunspell-en hunspell-de
|
||||
|
||||
%if 0%{?with_python3_other}
|
||||
@ -65,11 +65,9 @@ reports showing misspelled words.
|
||||
|
||||
|
||||
%check
|
||||
%{__python3} -m nose
|
||||
|
||||
%if 0%{?with_python3_other}
|
||||
%{__python3_other} -m nose
|
||||
%endif
|
||||
pushd sphinxcontrib/spelling/tests
|
||||
PYTHONPATH=%{_builddir}/sphinxcontrib-spelling-%{version}/:$PYTHONPATH python%{python3_pkgversion} -m unittest
|
||||
popd
|
||||
|
||||
%files -n python%{python3_pkgversion}-sphinxcontrib-spelling
|
||||
%doc README LICENSE
|
||||
@ -82,6 +80,9 @@ reports showing misspelled words.
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Jan 08 2022 Ge Wang <wangge20@huawei.com> - 4.2.1-3
|
||||
- Use unittest replace nose due to python-nose is abandonted
|
||||
|
||||
* Tue Aug 11 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 4.2.1-2
|
||||
- Remove unused tar package
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user