Compare commits

..

No commits in common. "bfb6f39f4d40537eb3e38fc02872a5e691d1d44b" and "e61dc13dd8237a8e9a6fe1eb7c7312168334d519" have entirely different histories.

4 changed files with 64 additions and 22 deletions

View File

@ -1,21 +1,40 @@
Name: python-sphinxcontrib-spelling
Version: 7.6.0
Release: 1
Version: 4.2.0
Release: 2
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
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}-fixtures python%{python3_pkgversion}-six
BuildRequires: python%{python3_pkgversion}-enchant python%{python3_pkgversion}-sphinx hunspell-en hunspell-de
BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python%{python3_pkgversion}-nose python%{python3_pkgversion}-fixtures python%{python3_pkgversion}-six
BuildRequires: python%{python3_pkgversion}-enchant python%{python3_pkgversion}-sphinx
%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
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}
@ -27,34 +46,61 @@ It contains sphinxcontrib.spelling, a spell checker for
Sphinx-based documents. It uses PyEnchant to generate
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
%autosetup -p0 -n sphinxcontrib-spelling-%{version}
%build
%py2_build
%py3_build
%if 0%{?with_python3_other}
%py3_other_build
%endif
%install
%if 0%{?with_python3_other}
%py3_other_install
%endif
%py3_install
%py2_install
%check
pytest
%{__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*
%if 0%{?with_python3_other}
%files -n python%{python3_other_pkgversion}-sphinxcontrib-spelling
%doc README LICENSE
%{python3_other_sitelib}/sphinxcontrib*
%endif
%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
- 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
* 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

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: sphinx-contrib/spelling
tag_prefix: ^
seperator: .

Binary file not shown.

Binary file not shown.