diff --git a/python-sphinxcontrib-spelling.spec b/python-sphinxcontrib-spelling.spec index f6e597b..3c1851d 100644 --- a/python-sphinxcontrib-spelling.spec +++ b/python-sphinxcontrib-spelling.spec @@ -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 - 4.2.1-3 +- Use unittest replace nose due to python-nose is abandonted + * Tue Aug 11 2020 zhangjiapeng - 4.2.1-2 - Remove unused tar package