update to version 3.2.2

This commit is contained in:
wang--ge 2022-10-21 10:16:35 +08:00
parent f146c88776
commit 63d1c3cd7d
3 changed files with 20 additions and 7 deletions

Binary file not shown.

BIN
pyenchant-3.2.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: python-enchant
Version: 2.0.0
Release: 9
Version: 3.2.2
Release: 1
Summary: Cygwin python-enchant packaging
License: LGPLv2+
URL: https://github.com/cygwinports/python-enchant
@ -31,7 +31,7 @@ rm -rf pyenchant.egg-info
rm -rf %{_builddir}/python3-%{name}-%{version}-%{release}
cp -a . %{_builddir}/python3-%{name}-%{version}-%{release}
find %{_builddir}/python3-%{name}-%{version}-%{release} -name '*.py' | \
xargs sed -i '1s|^#!python|#!%{_bindir}/python3|'
xargs sed -i '1s|^#!python|#!%{__python3}|'
%build
pushd %{_builddir}/python3-%{name}-%{version}-%{release}
@ -50,15 +50,28 @@ popd
%defattr(-,root,root)
%license LICENSE.txt
%dir %{python3_sitelib}/enchant
%{python3_sitelib}/enchant
%{python3_sitelib}/pyenchant-%{version}-py?.?.egg-info
%dir %{python3_sitelib}/enchant/__pycache__
%dir %{python3_sitelib}/enchant/checker
%dir %{python3_sitelib}/enchant/checker/__pycache__
%dir %{python3_sitelib}/enchant/tokenize
%dir %{python3_sitelib}/enchant/tokenize/__pycache__
%{python3_sitelib}/enchant/*.py
%{python3_sitelib}/enchant/__pycache__/*.py[co]
%{python3_sitelib}/enchant/checker/*.py
%{python3_sitelib}/enchant/checker/__pycache__/*.py[co]
%{python3_sitelib}/enchant/tokenize/*.py
%{python3_sitelib}/enchant/tokenize/__pycache__/*.py[co]
%{python3_sitelib}/pyenchant-%{version}-py%{python3_version}.egg-info
%files help
%defattr(-,root,root)
%doc README.txt TODO.txt
%doc README.rst
%changelog
* Wed Jan 2022 xu_ping <xuping33@huawei.com> - 2.0.0-9
* Thu Oct 20 2022 Ge Wang <wangge20@h-partners.com> - 3.2.2-1
- Upgrade to 3.2.2
* Wed Jan 05 2022 xu_ping <xuping33@huawei.com> - 2.0.0-9
- Drop the python-nose dependency
* Thu Oct 22 2020 huanghaitao <huanghaitao8@huawei.com> - 2.0.0-8