fix build error by upgrading to ruby3

(cherry picked from commit fdbe13d649e8a498eb87011a5d34820cfa0fe852)
This commit is contained in:
chen-jan 2022-02-23 10:36:15 +08:00 committed by openeuler-sync-bot
parent 077eb6ac77
commit 87cad1a6af

View File

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