!3 Fix python3.8 complied error

Merge pull request !3 from zhanghua/test
This commit is contained in:
openeuler-ci-bot 2020-06-24 22:56:25 +08:00 committed by Gitee
commit e7588237e8

View File

@ -1,6 +1,6 @@
Name: python-enchant
Version: 2.0.0
Release: 6
Release: 7
Summary: Cygwin python-enchant packaging
License: LGPLv2+
URL: https://github.com/cygwinports/python-enchant
@ -60,8 +60,8 @@ rm -rf %{buildroot}/%{python2_sitelib}/%{srcname}/share
pushd %{_builddir}/python3-%{name}-%{version}-%{release}
%py3_install \
--single-version-externally-managed
rm -rf %{buildroot}/%{_libdir}/python3.7/site-packages/enchant/lib
rm -rf %{buildroot}/%{_libdir}/python3.7/site-packages/enchant/share
rm -rf %{buildroot}/%{python3_sitelib}/%{srcname}/lib
rm -rf %{buildroot}/%{python3_sitelib}/%{srcname}/share
popd
%check
@ -69,7 +69,7 @@ pushd %{buildroot}/%{python2_sitelib}
LANG=en_US.UTF-8 /usr/bin/nosetests-2.*
popd
pushd %{buildroot}/usr/lib/python3.7/site-packages
pushd %{buildroot}/%{python3_sitelib}
LANG=en_US.UTF-8 /usr/bin/nosetests-3.*
popd
@ -92,6 +92,9 @@ popd
%doc README.txt TODO.txt
%changelog
* Wed Jun 24 2020 zhanghua <zhanghua40@huawei.com> - 2.0.0-7
- Fix python3.8 complied error
* Fri Dec 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.0-6
- Package init