!3 update to 4.2.1

Merge pull request !3 from jpzhang187/master
This commit is contained in:
openeuler-ci-bot 2020-08-11 10:58:10 +08:00 committed by Gitee
commit e3fec9593a
2 changed files with 7 additions and 24 deletions

View File

@ -1,17 +1,14 @@
Name: python-sphinxcontrib-spelling
Version: 4.2.0
Release: 2
Version: 4.2.1
Release: 1
Summary: Sphinx-based documentation spell checker
License: BSD
URL: https://github.com/sphinx-contrib/spelling
Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-spelling/sphinxcontrib-spelling-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/f8/72/dc6b84c1602bde635e1bc7056cdb4c82da1068ba3768f79a263fc798b411/sphinxcontrib-spelling-4.2.1.tar.gz
BuildArch: noarch
Requires: python2-six python2-sphinx
BuildRequires: python2-setuptools python2-devel python2-six python2-sphinx hunspell-en hunspell-de
BuildRequires: python2-enchant python2-fixtures python2-pbr python2-nose
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}-enchant python%{python3_pkgversion}-sphinx
BuildRequires: python%{python3_pkgversion}-enchant python%{python3_pkgversion}-sphinx hunspell-en hunspell-de
%if 0%{?with_python3_other}
BuildRequires: python%{python3_other_pkgversion}-setuptools python%{python3_other_pkgversion}-devel
@ -25,16 +22,6 @@ It contains sphinxcontrib.spelling, a spell checker for
Sphinx-based documents. It uses PyEnchant to generate
reports showing misspelled words.
%package -n python2-sphinxcontrib-spelling
Summary: Sphinx-based documentation spell checker
%{?python_provide:%python_provide python2-sphinxcontrib-spelling}
Requires: python2-six python2-sphinx python2-enchant
%description -n python2-sphinxcontrib-spelling
It contains sphinxcontrib.spelling, a spell checker for
Sphinx-based documents. It uses PyEnchant to generate
reports showing misspelled words.
%package -n python%{python3_pkgversion}-sphinxcontrib-spelling
Summary: Sphinx-based documentation spell checker
%{?python_provide:%python_provide python%{python3_pkgversion}-sphinxcontrib-spelling}
@ -63,7 +50,6 @@ reports showing misspelled words.
%autosetup -p0 -n sphinxcontrib-spelling-%{version}
%build
%py2_build
%py3_build
%if 0%{?with_python3_other}
@ -76,21 +62,15 @@ reports showing misspelled words.
%endif
%py3_install
%py2_install
%check
%{__python2} -m nose
%{__python3} -m nose
%if 0%{?with_python3_other}
%{__python3_other} -m nose
%endif
%files -n python2-sphinxcontrib-spelling
%doc README LICENSE
%{python2_sitelib}/sphinxcontrib*
%files -n python%{python3_pkgversion}-sphinxcontrib-spelling
%doc README LICENSE
%{python3_sitelib}/sphinxcontrib*
@ -102,5 +82,8 @@ reports showing misspelled words.
%endif
%changelog
* Mon Aug 10 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 4.2.1-1
- Update to 4.2.1
* Wed Jan 8 2020 likexin <likexin4@huawei.com> - 4.2.0-2
- package init

Binary file not shown.