use unittest replace nose due to python-nose is abandonted
(cherry picked from commit ad82307dc761aa911a8dcb7e94561bd09173fb04)
This commit is contained in:
parent
49e39ea897
commit
f7c35c84c4
@ -1,13 +1,13 @@
|
|||||||
Name: python-sphinxcontrib-spelling
|
Name: python-sphinxcontrib-spelling
|
||||||
Version: 4.2.1
|
Version: 4.2.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Sphinx-based documentation spell checker
|
Summary: Sphinx-based documentation spell checker
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/sphinx-contrib/spelling
|
URL: https://github.com/sphinx-contrib/spelling
|
||||||
Source0: https://files.pythonhosted.org/packages/f8/72/dc6b84c1602bde635e1bc7056cdb4c82da1068ba3768f79a263fc798b411/sphinxcontrib-spelling-4.2.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/f8/72/dc6b84c1602bde635e1bc7056cdb4c82da1068ba3768f79a263fc798b411/sphinxcontrib-spelling-4.2.1.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python%{python3_pkgversion}-setuptools python%{python3_pkgversion}-devel python%{python3_pkgversion}-pbr
|
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
|
BuildRequires: python%{python3_pkgversion}-enchant python%{python3_pkgversion}-sphinx hunspell-en hunspell-de
|
||||||
|
|
||||||
%if 0%{?with_python3_other}
|
%if 0%{?with_python3_other}
|
||||||
@ -65,11 +65,9 @@ reports showing misspelled words.
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} -m nose
|
pushd sphinxcontrib/spelling/tests
|
||||||
|
PYTHONPATH=%{_builddir}/sphinxcontrib-spelling-%{version}/:$PYTHONPATH python%{python3_pkgversion} -m unittest
|
||||||
%if 0%{?with_python3_other}
|
popd
|
||||||
%{__python3_other} -m nose
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-sphinxcontrib-spelling
|
%files -n python%{python3_pkgversion}-sphinxcontrib-spelling
|
||||||
%doc README LICENSE
|
%doc README LICENSE
|
||||||
@ -82,6 +80,9 @@ reports showing misspelled words.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 11 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 4.2.1-2
|
||||||
- Remove unused tar package
|
- Remove unused tar package
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user