!28 Upgrade 2.4.10 for ruby3.2

From: @wk333 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-08-01 09:26:56 +00:00 committed by Gitee
commit 7a94a06412
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 7 additions and 11 deletions

Binary file not shown.

BIN
bundler-2.4.10.gem Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
%global gem_name bundler %global gem_name bundler
%bcond_with tests %bcond_with tests
%global fileutils_version 1.4.1 %global fileutils_version 1.7.0
%global molinillo_version 0.8.0 %global net_http_persistent_version 4.0.1
%global net_http_persistent_version 4.0.0
%global thor_version 1.2.1 %global thor_version 1.2.1
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.3.26 Version: 2.4.10
Release: 1 Release: 1
Summary: Library and utilities to manage a Ruby application's gem dependencies Summary: Library and utilities to manage a Ruby application's gem dependencies
License: MIT License: MIT
@ -21,7 +20,6 @@ BuildRequires: ruby(release) rubygems-devel ruby
BuildRequires: ruby-devel rubygem(rspec) >= 3.0 git %{_bindir}/ps BuildRequires: ruby-devel rubygem(rspec) >= 3.0 git %{_bindir}/ps
%endif %endif
Provides: bundled(rubygem-fileutils) = %{fileutils_version} Provides: bundled(rubygem-fileutils) = %{fileutils_version}
Provides: bundled(rubygem-molinillo) = %{molinillo_version}
Provides: bundled(rubygem-net-http-persisntent) = %{net_http_persistent_version} Provides: bundled(rubygem-net-http-persisntent) = %{net_http_persistent_version}
Provides: bundled(rubygem-thor) = %{thor_version} Provides: bundled(rubygem-thor) = %{thor_version}
@ -63,17 +61,12 @@ done
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
[ `ls lib/bundler/vendor | wc -l` == 8 ] [ `ls lib/bundler/vendor | wc -l` == 7 ]
ruby -e ' ruby -e '
module Bundler; end module Bundler; end
require "./lib/bundler/vendor/fileutils/lib/fileutils.rb"' require "./lib/bundler/vendor/fileutils/lib/fileutils.rb"'
[ `ruby -e '
module Bundler; end
require "./lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata"
puts Bundler::Molinillo::VERSION'` == '%{molinillo_version}' ]
[ `ruby -Ilib -e ' [ `ruby -Ilib -e '
module Bundler; module Persistent; module Net; module HTTP; end; end; end; end module Bundler; module Persistent; module Net; module HTTP; end; end; end; end
require "./lib/bundler/vendor/net-http-persistent/lib/net/http/persistent" require "./lib/bundler/vendor/net-http-persistent/lib/net/http/persistent"
@ -130,6 +123,9 @@ popd
%doc %{_mandir}/man5/* %doc %{_mandir}/man5/*
%changelog %changelog
* Tue Aug 01 2023 wangkai <13474090681@163.com> - 2.4.10-1
- Upgrade 2.4.10 for ruby3.2
* Mon Mar 13 2023 caodongxia <caodongxia@h-partners.com> - 2.3.26-1 * Mon Mar 13 2023 caodongxia <caodongxia@h-partners.com> - 2.3.26-1
- Upgrade to 2.3.26 - Upgrade to 2.3.26