!7 Update to 7.6.0
From: @wk333 Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
ab720d917c
@ -1,21 +1,15 @@
|
|||||||
Name: python-sphinxcontrib-spelling
|
Name: python-sphinxcontrib-spelling
|
||||||
Version: 4.2.1
|
Version: 7.6.0
|
||||||
Release: 3
|
Release: 1
|
||||||
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/source/s/sphinxcontrib-spelling/sphinxcontrib-spelling-%{version}.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}-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
|
||||||
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
%if 0%{?with_python3_other}
|
|
||||||
BuildRequires: python%{python3_other_pkgversion}-setuptools python%{python3_other_pkgversion}-devel
|
|
||||||
BuildRequires: python%{python3_other_pkgversion}-pbr python%{python3_other_pkgversion}-nose
|
|
||||||
BuildRequires: python%{python3_other_pkgversion}-fixtures python%{python3_other_pkgversion}-six
|
|
||||||
BuildRequires: python%{python3_other_pkgversion}-enchant python%{python3_other_pkgversion}-sphinx
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
It contains sphinxcontrib.spelling, a spell checker for
|
It contains sphinxcontrib.spelling, a spell checker for
|
||||||
@ -33,53 +27,26 @@ It contains sphinxcontrib.spelling, a spell checker for
|
|||||||
Sphinx-based documents. It uses PyEnchant to generate
|
Sphinx-based documents. It uses PyEnchant to generate
|
||||||
reports showing misspelled words.
|
reports showing misspelled words.
|
||||||
|
|
||||||
%if 0%{?with_python3_other}
|
|
||||||
%package -n python%{python3_other_pkgversion}-sphinxcontrib-spelling
|
|
||||||
Summary: Sphinx-based documentation spell checker
|
|
||||||
%{?python_provide:%python_provide python%{python3_other_pkgversion}-sphinxcontrib-spelling}
|
|
||||||
Requires: python%{python3_other_pkgversion}-enchant python%{python3_other_pkgversion}-six
|
|
||||||
Requires: python%{python3_other_pkgversion}-sphinx
|
|
||||||
|
|
||||||
%description -n python%{python3_other_pkgversion}-sphinxcontrib-spelling
|
|
||||||
It contains sphinxcontrib.spelling, a spell checker for
|
|
||||||
Sphinx-based documents. It uses PyEnchant to generate
|
|
||||||
reports showing misspelled words.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p0 -n sphinxcontrib-spelling-%{version}
|
%autosetup -p0 -n sphinxcontrib-spelling-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%if 0%{?with_python3_other}
|
|
||||||
%py3_other_build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?with_python3_other}
|
|
||||||
%py3_other_install
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd sphinxcontrib/spelling/tests
|
pytest
|
||||||
PYTHONPATH=%{_builddir}/sphinxcontrib-spelling-%{version}/:$PYTHONPATH python%{python3_pkgversion} -m unittest
|
|
||||||
popd
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-sphinxcontrib-spelling
|
%files -n python%{python3_pkgversion}-sphinxcontrib-spelling
|
||||||
%doc README LICENSE
|
%doc README LICENSE
|
||||||
%{python3_sitelib}/sphinxcontrib*
|
%{python3_sitelib}/sphinxcontrib*
|
||||||
|
|
||||||
%if 0%{?with_python3_other}
|
|
||||||
%files -n python%{python3_other_pkgversion}-sphinxcontrib-spelling
|
|
||||||
%doc README LICENSE
|
|
||||||
%{python3_other_sitelib}/sphinxcontrib*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 07 2022 wangkai <wangkai385@h-partners.com> - 7.6.0-1
|
||||||
|
- Update to 7.6.0
|
||||||
|
|
||||||
* Sat Jan 08 2022 Ge Wang <wangge20@huawei.com> - 4.2.1-3
|
* Sat Jan 08 2022 Ge Wang <wangge20@huawei.com> - 4.2.1-3
|
||||||
- Use unittest replace nose due to python-nose is abandonted
|
- Use unittest replace nose due to python-nose is abandonted
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
sphinxcontrib-spelling-7.6.0.tar.gz
Normal file
BIN
sphinxcontrib-spelling-7.6.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user