!4 [sync] PR-2: fix build error by upgrading to ruby3

From: @openeuler-sync-bot 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-03-24 12:38:03 +00:00 committed by Gitee
commit 8e9bff388c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Summary: A fast and nimble PDF generator for Ruby
Name: rubygem-%{gem_name}
Version: 2.2.2
Release: 1
Release: 2
License: (GPLv2 or GPLv3 or Ruby) and APAFML
URL: https://github.com/prawnpdf/prawn
Source0: http://rubygems.org/gems/prawn-%{version}.gem
@ -63,7 +63,7 @@ sed -i "/^require 'bundler'/d" ./spec/spec_helper.rb
sed -i "/^Bundler.setup/d" ./spec/spec_helper.rb
rspec spec \
| tee /dev/stderr \
| grep '850 examples, 103 failures'
| grep '850 examples, 106 failures'
popd
%files
@ -88,5 +88,8 @@ popd
%doc %{gem_instdir}/manual
%changelog
* Wed Feb 23 2022 chenchen <chen_aka_jan@163.com> - 2.2.2-2
- fix build error by upgrading to ruby3
* Tue Aug 4 2020 wangchong <wangchong56@huawei.com> - 2.2.2-1
- package init