From 1c7f6591a91ccf12d96acd7665a2d339915368ac Mon Sep 17 00:00:00 2001 From: zhanghua1831 Date: Wed, 24 Jun 2020 15:46:16 +0800 Subject: [PATCH] Fix python3.8 complied error --- python-enchant.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 67fa549..37d73a5 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -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 - 2.0.0-7 +- Fix python3.8 complied error + * Fri Dec 13 2019 openEuler Buildteam - 2.0.0-6 - Package init