Compare commits
No commits in common. "7a94a064129961d1e37dec43cd6d447de8abc261" and "faa8986b658db73bafd99de0313f2b3e919aa411" have entirely different histories.
7a94a06412
...
faa8986b65
Binary file not shown.
BIN
bundler-1.16.1.gem
Normal file
BIN
bundler-1.16.1.gem
Normal file
Binary file not shown.
Binary file not shown.
@ -1,18 +1,19 @@
|
|||||||
%global gem_name bundler
|
%global gem_name bundler
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
%global fileutils_version 1.7.0
|
%global fileutils_version 0.7.2
|
||||||
%global net_http_persistent_version 4.0.1
|
%global molinillo_version 0.6.4
|
||||||
%global thor_version 1.2.1
|
%global net_http_persistent_version 2.9.4
|
||||||
|
%global thor_version 0.20.0
|
||||||
|
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 2.4.10
|
Version: 1.16.1
|
||||||
Release: 1
|
Release: 5
|
||||||
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: https://github.com/rubygems/rubygems/archive/refs/tags/%{gem_name}-v%{version}.tar.gz
|
Source1: %{gem_name}-%{version}-specs.tgz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: rubygem(io-console)
|
Requires: rubygem(io-console)
|
||||||
BuildRequires: ruby(release) rubygems-devel ruby
|
BuildRequires: ruby(release) rubygems-devel ruby
|
||||||
@ -20,6 +21,7 @@ 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}
|
||||||
|
|
||||||
@ -53,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}/lib/bundler/man/*.${n}; do
|
for file in %{buildroot}%{gem_instdir}/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
|
||||||
@ -61,12 +63,17 @@ done
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
pushd .%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
[ `ls lib/bundler/vendor | wc -l` == 7 ]
|
[ `ls lib/bundler/vendor | wc -l` == 4 ]
|
||||||
|
|
||||||
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"
|
||||||
@ -102,20 +109,20 @@ popd
|
|||||||
%{_bindir}/bundle
|
%{_bindir}/bundle
|
||||||
%{_bindir}/bundler
|
%{_bindir}/bundler
|
||||||
%exclude %{gem_instdir}/.*
|
%exclude %{gem_instdir}/.*
|
||||||
%exclude %{gem_libdir}/bundler/.document
|
%exclude %{gem_libdir}/bundler/ssl_certs/index.rubygems.org
|
||||||
%exclude %{gem_libdir}/bundler/vendor/.document
|
%exclude %{gem_libdir}/bundler/ssl_certs/rubygems.global.ssl.fastly.net
|
||||||
%exclude %{gem_libdir}/bundler/templates/.document
|
%exclude %{gem_libdir}/bundler/ssl_certs/rubygems.org
|
||||||
%exclude %{gem_libdir}/bundler/man/.document
|
%exclude %{gem_libdir}/bundler/ssl_certs/.document
|
||||||
%license %{gem_instdir}/LICENSE.md
|
%license %{gem_instdir}/LICENSE.md
|
||||||
%exclude %{gem_instdir}/bundler.gemspec
|
%exclude %{gem_instdir}/bundler.gemspec
|
||||||
%{gem_instdir}/exe
|
%{gem_instdir}/exe
|
||||||
%{gem_libdir}
|
%{gem_libdir}
|
||||||
%exclude %{gem_instdir}/lib/bundler/man/*.ronn
|
%exclude %{gem_instdir}/man/*.ronn
|
||||||
%exclude %{gem_cache}
|
%exclude %{gem_cache}
|
||||||
%{gem_spec}
|
%{gem_spec}
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc %{gem_instdir}/lib/bundler/man
|
%doc %{gem_instdir}/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
|
||||||
@ -123,18 +130,5 @@ popd
|
|||||||
%doc %{_mandir}/man5/*
|
%doc %{_mandir}/man5/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Aug 01 2023 wangkai <13474090681@163.com> - 2.4.10-1
|
* Fri 06 Feb 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.16.1-5
|
||||||
- Upgrade 2.4.10 for ruby3.2
|
|
||||||
|
|
||||||
* Mon Mar 13 2023 caodongxia <caodongxia@h-partners.com> - 2.3.26-1
|
|
||||||
- Upgrade to 2.3.26
|
|
||||||
|
|
||||||
* Wed Dec 29 2021 houyingchao <houyingchao@huawei.com> - 2.2.33-1
|
|
||||||
- Upgrade to 2.2.33
|
|
||||||
- Fix CVE-2021-43809
|
|
||||||
|
|
||||||
* Tue Jun 8 2021 zhaomengchao <zhaomengchao3@huawei.com> - 2.2.19-1
|
|
||||||
* Upgrade to 2.2.19
|
|
||||||
|
|
||||||
* Thu Feb 06 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.61.1-5
|
|
||||||
* Package init
|
* Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user