[rubygems] 1.8.8
Mamoru Tasaka
mtasaka at fedoraproject.org
Sun Aug 21 12:44:09 UTC 2011
commit b90b29f3f5aea1e0df09c5a8262b280b46089410
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date: Sun Aug 21 21:43:42 2011 +0900
1.8.8
.gitignore | 1 +
rubygems-1.8.8-revert-to-git-tree.patch | 32 +++++++++++++++++++++++++++++++
rubygems.spec | 11 ++++++++-
sources | 2 +-
4 files changed, 43 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 77fc40c..c84b8e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ rubygems-1.3.7.tgz
/rubygems-1.8.5.tgz
/rubygems-1.8.6.tgz
/rubygems-1.8.7.tgz
+/rubygems-1.8.8.tgz
diff --git a/rubygems-1.8.8-revert-to-git-tree.patch b/rubygems-1.8.8-revert-to-git-tree.patch
new file mode 100644
index 0000000..6437a34
--- /dev/null
+++ b/rubygems-1.8.8-revert-to-git-tree.patch
@@ -0,0 +1,32 @@
+Only in rubygems-1.8.8/./: .gemtest
+Only in git/rubygems/: .git
+Only in git/rubygems/: .gitignore
+diff -ur rubygems-1.8.8/./lib/rubygems/commands/fetch_command.rb git/rubygems/lib/rubygems/commands/fetch_command.rb
+--- rubygems-1.8.8/./lib/rubygems/commands/fetch_command.rb 2011-08-12 09:11:38.000000000 +0900
++++ git/rubygems/lib/rubygems/commands/fetch_command.rb 2011-08-20 16:54:40.000000000 +0900
+@@ -58,7 +58,8 @@
+ next
+ end
+
+- Gem::RemoteFetcher.fetcher.download spec, source_uri, Dir.pwd
++ path = Gem::RemoteFetcher.fetcher.download spec, source_uri
++ FileUtils.mv path, File.basename(spec.cache_file)
+
+ say "Downloaded #{spec.full_name}"
+ end
+diff -ur rubygems-1.8.8/./lib/rubygems/remote_fetcher.rb git/rubygems/lib/rubygems/remote_fetcher.rb
+--- rubygems-1.8.8/./lib/rubygems/remote_fetcher.rb 2011-08-12 09:11:38.000000000 +0900
++++ git/rubygems/lib/rubygems/remote_fetcher.rb 2011-08-20 16:54:40.000000000 +0900
+@@ -98,9 +98,7 @@
+ def download(spec, source_uri, install_dir = Gem.dir)
+ Gem.ensure_gem_subdirectories(install_dir) rescue nil
+
+- if Dir.pwd == install_dir then
+- cache_dir = install_dir
+- elsif File.writable?(install_dir)
++ if File.writable?(install_dir)
+ cache_dir = File.join install_dir, "cache"
+ else
+ cache_dir = File.join Gem.user_dir, "cache"
+Only in rubygems-1.8.8/./: rubygems-update-1.8.8
+Only in git/rubygems/: tmp2.patch
diff --git a/rubygems.spec b/rubygems.spec
index 5a42a75..db56f96 100644
--- a/rubygems.spec
+++ b/rubygems.spec
@@ -6,7 +6,7 @@
%global gem_home %{gem_dir}/%{rb_ver}
%global ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')
-%global repoid 75229
+%global repoid 75255
# Executing testsuite (enabling %%check section) will cause dependency loop.
# To avoid dependency loop when necessary, please set the following value to 0
@@ -14,7 +14,7 @@
Summary: The Ruby standard for packaging ruby libraries
Name: rubygems
-Version: 1.8.7
+Version: 1.8.8
Release: 1%{?dist}
Group: Development/Libraries
License: Ruby or MIT
@@ -29,6 +29,9 @@ Patch1: rubygems-1.8.6-show-extension-build-process-in-sync.patch
# rubygems-Patches-29049
# https://github.com/rubygems/rubygems/issues/118
Patch3: rubygems-1.8.5-show-rdoc-process-verbosely.patch
+# See:
+# https://github.com/rubygems/rubygems/issues/154
+Patch4: rubygems-1.8.8-revert-to-git-tree.patch
# Fix Gem.all_load_paths (although it is deprecated and will be removed
# on 2011-10-01)
Patch6: rubygems-1.8.5-all-load-paths.patch
@@ -58,6 +61,7 @@ libraries.
%patch1 -p1 -b .insync
%patch3 -p1 -b .rdoc_v
%patch6 -p1 -b .load_path
+%patch4 -p2 -b .git
# Some of the library files start with #! which rpmlint doesn't like
# and doesn't make much sense
@@ -113,6 +117,9 @@ mv Rakefile.tmp Rakefile
%{ruby_sitelib}/ubygems.rb
%changelog
+* Sun Aug 21 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 1.8.8-1
+- 1.8.8
+
* Sat Aug 6 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 1.8.7-1
- 1.8.7
diff --git a/sources b/sources
index fba6f50..40cf631 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bfe877c0b57fbece6b5b03e9fda275da rubygems-1.8.7.tgz
+6a9b4bc022f1dfeab48d11f22ed34f39 rubygems-1.8.8.tgz
More information about the scm-commits
mailing list