!4 Upgrade Package

From: @yun-chengzhang
Reviewed-by: 
Signed-off-by:
This commit is contained in:
openeuler-ci-bot 2021-06-08 20:42:52 +08:00 committed by Gitee
commit 9bc47aacf7
5 changed files with 14 additions and 11 deletions

Binary file not shown.

Binary file not shown.

BIN
bundler-2.2.19.gem Normal file

Binary file not shown.

BIN
bundler-v2.2.19.tar.gz Normal file

Binary file not shown.

View File

@ -2,18 +2,18 @@
%bcond_with tests %bcond_with tests
%global fileutils_version 0.7.2 %global fileutils_version 0.7.2
%global molinillo_version 0.6.4 %global molinillo_version 0.7.0
%global net_http_persistent_version 2.9.4 %global net_http_persistent_version 4.0.0
%global thor_version 0.20.0 %global thor_version 1.1.0
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 1.16.1 Version: 2.2.19
Release: 5 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
URL: http://bundler.io URL: http://bundler.io
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Source1: %{gem_name}-%{version}-specs.tgz Source1: https://github.com/rubygems/rubygems/archive/refs/tags/%{gem_name}-v%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: rubygem(io-console) Requires: rubygem(io-console)
BuildRequires: ruby(release) rubygems-devel ruby BuildRequires: ruby(release) rubygems-devel ruby
@ -55,7 +55,7 @@ chmod a-x %{buildroot}%{gem_libdir}/bundler/templates/Executable
for n in 5 1; do for n in 5 1; do
mkdir -p %{buildroot}%{_mandir}/man${n} mkdir -p %{buildroot}%{_mandir}/man${n}
for file in %{buildroot}%{gem_instdir}/man/*.${n}; do for file in %{buildroot}%{gem_instdir}/lib/bundler/man/*.${n}; do
base_name=$(basename "${file}") base_name=$(basename "${file}")
cp -a "${file}" "%{buildroot}%{_mandir}/man${n}/${base_name}" cp -a "${file}" "%{buildroot}%{_mandir}/man${n}/${base_name}"
done done
@ -63,7 +63,7 @@ done
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
[ `ls lib/bundler/vendor | wc -l` == 4 ] [ `ls lib/bundler/vendor | wc -l` == 7 ]
ruby -e ' ruby -e '
module Bundler; end module Bundler; end
@ -117,12 +117,12 @@ popd
%exclude %{gem_instdir}/bundler.gemspec %exclude %{gem_instdir}/bundler.gemspec
%{gem_instdir}/exe %{gem_instdir}/exe
%{gem_libdir} %{gem_libdir}
%exclude %{gem_instdir}/man/*.ronn %exclude %{gem_instdir}/lib/bundler/man/*.ronn
%exclude %{gem_cache} %exclude %{gem_cache}
%{gem_spec} %{gem_spec}
%files help %files help
%doc %{gem_instdir}/man %doc %{gem_instdir}/lib/bundler/man
%doc %{gem_docdir} %doc %{gem_docdir}
%doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CHANGELOG.md
%doc %{gem_instdir}/README.md %doc %{gem_instdir}/README.md
@ -130,5 +130,8 @@ popd
%doc %{_mandir}/man5/* %doc %{_mandir}/man5/*
%changelog %changelog
* Fri 06 Feb 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.16.1-5 * Wed Jun 8 2021 zhaomengchao <zhaomengchao3@huawei.com> - 2.2.19-1
* Upgrade to 2.2.19
* Fri 06 Feb 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.61.1-5
* Package init * Package init