!5 修复ruby3.2 在构建期间更改了ext 清理而导致的check阶段失败

From: @wu-leilei 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-08-01 03:09:08 +00:00 committed by Gitee
commit d14fb191b5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Summary: Unicode Normalization Form support library for CRuby
Name: rubygem-%{gem_name}
Version: 0.0.8.2
Release: 1
Release: 2
License: MIT
URL: https://github.com/knu/ruby-unf_ext
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
@ -59,7 +59,7 @@ sed -i.orig \
test/helper.rb
sed -i -e '2i gem "test-unit"' test/helper.rb
ruby \
-Ilib:test:.:ext/%{gem_name} \
-Ilib:test:.:%{buildroot}%{gem_extdir_mri} \
test/test_unf_ext.rb
%files
@ -81,6 +81,9 @@ ruby \
%exclude %{gem_instdir}/test/
%changelog
* Tue Aug 01 2023 wulei <wu_lei@hoperun.com> - 0.0.8.2-2
- Use %%gem_extdir_mri instead of ext for %%check due to ruby3.2 change for ext cleanup during build
* Thu Jun 30 2022 houyingchao <houyingchao@partners.com> - 0.0.8.2-1
- Upgrade to 0.0.8.2