diff --git a/bundler-1.16.1.gem b/bundler-1.16.1.gem deleted file mode 100644 index 433560896665d7587d4b4febe69f40eb9ef137ea..0000000000000000000000000000000000000000 Binary files a/bundler-1.16.1.gem and /dev/null differ diff --git a/bundler-2.2.19.gem b/bundler-2.2.19.gem new file mode 100644 index 0000000000000000000000000000000000000000..91bf8aee9084623b562dad218e8b5e99e7c045cd Binary files /dev/null and b/bundler-2.2.19.gem differ diff --git a/bundler-1.16.1-specs.tgz b/bundler-v2.2.19.tar.gz similarity index 44% rename from bundler-1.16.1-specs.tgz rename to bundler-v2.2.19.tar.gz index ecf08d6068740175542a3dda4ea244a52f5e8fd6..b6929a26f2a28d46a8f9c35b12ba0ff40287b7d4 100644 Binary files a/bundler-1.16.1-specs.tgz and b/bundler-v2.2.19.tar.gz differ diff --git a/rubygem-bundler.spec b/rubygem-bundler.spec index 96d1481283509829df7577b2ce0085bbc9d93a35..268490c4913155bace36fcab097bfbe0cdc1db66 100644 --- a/rubygem-bundler.spec +++ b/rubygem-bundler.spec @@ -2,18 +2,18 @@ %bcond_with tests %global fileutils_version 0.7.2 -%global molinillo_version 0.6.4 -%global net_http_persistent_version 2.9.4 -%global thor_version 0.20.0 +%global molinillo_version 0.7.0 +%global net_http_persistent_version 4.0.0 +%global thor_version 1.1.0 Name: rubygem-%{gem_name} -Version: 1.16.1 -Release: 5 +Version: 2.2.19 +Release: 1 Summary: Library and utilities to manage a Ruby application's gem dependencies License: MIT URL: http://bundler.io 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 Requires: rubygem(io-console) 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 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}") cp -a "${file}" "%{buildroot}%{_mandir}/man${n}/${base_name}" done @@ -63,7 +63,7 @@ done %check pushd .%{gem_instdir} -[ `ls lib/bundler/vendor | wc -l` == 4 ] +[ `ls lib/bundler/vendor | wc -l` == 7 ] ruby -e ' module Bundler; end @@ -117,12 +117,12 @@ popd %exclude %{gem_instdir}/bundler.gemspec %{gem_instdir}/exe %{gem_libdir} -%exclude %{gem_instdir}/man/*.ronn +%exclude %{gem_instdir}/lib/bundler/man/*.ronn %exclude %{gem_cache} %{gem_spec} %files help -%doc %{gem_instdir}/man +%doc %{gem_instdir}/lib/bundler/man %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/README.md @@ -130,5 +130,8 @@ popd %doc %{_mandir}/man5/* %changelog -* Fri 06 Feb 2020 openEuler Buildteam - 1.16.1-5 +* Wed Jun 8 2021 zhaomengchao - 2.2.19-1 +* Upgrade to 2.2.19 + +* Fri 06 Feb 2020 openEuler Buildteam - 1.61.1-5 * Package init