!9 using macros to get python versions by python3.10+

From: @chen-jan 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-03-31 01:33:19 +00:00 committed by Gitee
commit caf985ea8c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: marisa
Version: 0.2.4
Release: 39
Release: 40
Summary: Matching Algorithm with Recursively Implemented StorAge
License: BSD or LGPLv2+
@ -119,7 +119,7 @@ find $RPM_BUILD_ROOT -name 'perllocal.pod' -delete
%files -n python3-marisa
%{python3_sitearch}/__pycache__/marisa*
%{python3_sitearch}/{_marisa*.so,marisa.py}
%{python3_sitearch}/marisa-0.0.0-py3.?.egg-info
%{python3_sitearch}/marisa-0.0.0-py%{python3_version}.egg-info
%files perl
%{perl_vendorarch}/{marisa.pm,auto/marisa}
@ -130,6 +130,9 @@ find $RPM_BUILD_ROOT -name 'perllocal.pod' -delete
%{ruby_vendorarchdir}/marisa.so
%changelog
* Wed Mar 30 2022 chenchen <chen_aka_jan@163.com> - 0.2.4-40
- using macros to get python versions by python3.10+
* Wed Jun 09 2021 wulei <wulei80@huawei.com> - 0.2.4-39
- fixes failed: error: no acceptable C compiler found in PATH