Hello community, here is the log from the commit of package rubygems for openSUSE:12.1:Update:Test checked in at 2011-12-09 19:15:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.1:Update:Test/rubygems (Old) and /work/SRC/openSUSE:12.1:Update:Test/.rubygems.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygems", Maintainer is "mrueck...@suse.com" Changes: -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /work/SRC/openSUSE:12.1:Update:Test/.rubygems.new/rubygems.changes 2011-12-09 19:15:20.000000000 +0100 @@ -0,0 +1,605 @@ +------------------------------------------------------------------- +Tue Feb 1 11:05:47 UTC 2011 - mrueck...@suse.de + +- update to version 1.5.0 + * Finally fixed all known 1.9.x issues. Upgrading is now + possible! + * Merged huge 1.3.7/ruby-core changes to master. + * Added UPGRADING.rdoc to help deal with 1.9 issues. + * Gem::Format now gives better errors for corrupt gem files and + includes paths + * Pre-install hooks can now abort gem installation by returning + false + * Move shareable TestCase classes to lib/ to help plugin authors + with tests. + * Add post-build hooks that can cancel the gem install + * Always require custom_require now that require_gem is gone + * Added GemInstaller accessors for @options so plugins can + reference them. + * Optimized Gem.find_files. ~10% faster than 1.4.2. ~40% faster + than ruby 1.9. + * Gem::SilentUI now behaves like Gem::StreamUI for asking + questions. Patch by Erik Hollensbe. + * `gem update` was implicitly doing --system. + * 1.9.3: Fixed encoding errors causing gem installs to die during + rdoc phase. + * Add RubyForge URL to README. Closes #28825 + * 1.9.3: Use chdir {} when building extensions to prevent + warnings. Fixes #4337 + * 1.9.2: Fix circular require warning. + * Make requiring openssl even lazier at request of NaHi + * `gem unpack` will now download the gem if it is not in the + cache. Patch by Erik Hollensbe. + * rubygems-update lists its development dependencies again +- refreshed the build-root patch: + old name rubygems-1.3.7_buildroot.patch + new name rubygems-1.5.0_buildroot.patch + +------------------------------------------------------------------- +Fri Jan 21 10:43:14 UTC 2011 - mrueck...@suse.de + +- update to version 1.4.2 + * Gem::Versions: "1.b1" != "1.b.1", but "1.b1" eql? "1.b.1". + Fixes gem indexing. + * Fixed Gem.find_files. + * Removed otherwise unused #find_all_dot_rb. Only 6 days old and + hella buggy. +- additional changes from version 1.4.1 + Since apparently nobody reads my emails, blog posts or the README: + DO NOT UPDATE RUBYGEMS ON RUBY 1.9! See UPGRADING.rdoc for details. + * Specification#load was untainting a frozen string + (via `gem build *.spec`) +- additional changes from version 1.4.0 + NOTE: In order to better maintain rubygems and to get it in sync + with the world (eg, 1.9's 1.3.7 is different from our 1.3.7), + rubygems is switching to a 4-6 week release schedule. This + release is the precursor to that process and as such may be a bit + on the wild side! You have been warned! + NOTE: We've switched to git/github. See README.rdoc for details. + New features: + * Added --launch option to `gem server`. (gthiesfeld) + * Added fuzzy name matching on install failures. + (gstark/presidentbeef) + * Allow searching w/ file extensions: gem which fileutils.rb + * Progress indicator during download (Ryan Melton) + * Speed up Gem::Version#<=> by 2-3x in common cases. (raggi) + Bug fixes: + * Dependency "~>"s now respect lower-bound prerelease versions. + * Ensure the gem directories exist on download. + * Expand Windows user home candidates for Ruby 1.8. Bug #28371 & + #28494 + * Fix find_files to order by version. + * Fix ivar typo. [Josh Peek] + * Normalized requires and made many of them lazy. Do not depend + on rubygems to require stdlib stuff for you. (raggi/tmm1) + * Treat 1.0.a10 like 1.0.a.10 for sorting, etc. Fixes #27903. + (dchelimsky) +- drop rubygems-1.3.7_hash_to_big.patch + +------------------------------------------------------------------- +Fri Dec 10 22:40:15 UTC 2010 - mrueck...@suse.de + +- added rubygems-1.3.7_hash_to_big.patch: + fix "bignum too big to convert into `long'" exception during + install + +------------------------------------------------------------------- +Fri Jun 18 15:03:17 UTC 2010 - mrueck...@suse.de + +- fix buildroot patch for factory + +------------------------------------------------------------------- +Tue May 25 16:03:55 UTC 2010 - mrueck...@suse.de + +- added a new macro rubygems_requires + it will replace the hardcoded requires on rubygems in the + rubygem-* packages with a requires_eq/requires_ge depending on + the suse version + +------------------------------------------------------------------- +Mon May 17 13:01:02 UTC 2010 - dmacvi...@novell.com + +- update to 1.3.7 + * Dropped rubygems-1.3.6_unpack.patch (now upstream) + * Dropped rubygems-1.3.6_version_requirements.patch (now upstream) +- New features: + * `gem` commands + * `gem install` and `gem fetch` now report alternate platforms + when a matching one couldn't be found. + * `gem contents` --prefix is now the default as specified in + --help. Bug #27211 by Mamoru Tasaka. + * `gem fetch` can fetch of old versions again. Bug #27960 by + Eric Hankins. + * `gem query` and friends output now lists platforms. Bug #27856 + by Greg Hazel. + * `gem server` now allows specification of multiple gem dirs for + documentation. Bug #27573 by Yuki Sonoda. + * `gem unpack` can unpack gems again. Bug #27872 by Timothy + Jones. + * `gem unpack` now unpacks remote gems. + * --user-install is no longer the default. If you really liked it, + see Gem::ConfigFile to learn how to set it by default. (This + change was made in 1.3.6) + * RubyGems now has platform support for IronRuby. Patch #27951 by + Will Green. +- Bug fixes: + * Require rubygems/custom_require if --disable-gem was set. + Bug #27700 by Roger Pack. + * RubyGems now protects against exceptions being raised by plugins. + * rubygems/builder now requires user_interaction. Ruby Bug #1040 + by Phillip Toland. + * Gem::Dependency support #version_requirements= with a warning. + Fix for old Rails versions. Bug #27868 by Wei Jen Lu. + * Gem::PackageTask depends on the package dir like the other + rake package + tasks so dependencies can be hooked up correctly. + +------------------------------------------------------------------- +Thu Apr 15 10:12:04 UTC 2010 - mrueck...@suse.de + +- added rubygems-1.3.6_unpack.patch: + dont check for the permissions of the installation directory + when unpacking a gem. Backport from trunk. +- remove find lines in %prep. They are not needed anymore. + +------------------------------------------------------------------- +Wed Apr 14 15:29:50 UTC 2010 - mrueck...@suse.de + +- update rubygems-1.3.6_buildroot.patch: + missing requires for pathname + +------------------------------------------------------------------- +Mon Apr 12 23:57:34 UTC 2010 - mrueck...@suse.de + +- added rubygems-1.3.6_version_requirements.patch: + add back Gem::Dependency#version_requirements to fix older rails + versions. Backport from trunk. + +------------------------------------------------------------------- +Sat Mar 6 12:21:16 UTC 2010 - dmacvi...@novell.com + +- update to rubygems 1.3.6 + Notes: + - http://rubygems.org is now the default source for downloading + gems. + - You may have sources set via ~/.gemrc, so you should replace + - http://gems.rubyforge.org with http://rubygems.org + - http://gems.rubyforge.org will continue to work for the + forseeable future. + New features: + - `gem` commands + - Added `gem push` and `gem owner` for interacting with + modern/Gemcutter + sources + - `gem dep` now supports --prerelease. + - `gem fetch` now supports --prerelease. + - `gem server` now supports --bind. Patch #27357 by Bruno + Michel. + - `gem rdoc` no longer overwrites built documentation. + Use --overwrite force rebuilding. Patch #25982 by Akinori + MUSHA. + - Captial letters are now allowed in prerelease versions. + Bug fixes: + - Development deps are no longer added to rubygems-update gem so + older versions can update sucessfully. + Installer bugs: + - Prerelease gems can now depend on non-prerelease gems. + - Development dependencies are ignored unless explicitly needed. + Bug #27608 + by Roger Pack. + - `gem` commands + - `gem which` now fails if no paths were found. Adapted patch + #27681 by Caio Chassot. + - `gem server` no longer has invalid markup. Bug #27045 by + Eric Young. + - `gem list` and friends show both prerelease and regular gems + when --prerelease --all is given + - Gem::Format no longer crashes on empty files. Bug #27292 ++++ 408 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.1:Update:Test/.rubygems.new/rubygems.changes New: ---- _link gem_build_cleanup rubygems-1.5.0.tar.bz2 rubygems-1.5.0_buildroot.patch rubygems-rpmlintrc rubygems.changes rubygems.macros rubygems.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygems.spec ++++++ # # spec file for package rubygems # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rubygems Version: 1.5.0 Release: 1 # License: Other uncritical OpenSource License Group: Development/Languages/Ruby # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-devel Requires: ruby-devel Provides: rubygems_with_buildroot_patch # Url: http://rubyforge.org/projects/rubygems/ # from http://rubyforge.org/frs/download.php/70696/rubygems-1.3.7.tgz Source: rubygems-%{version}.tar.bz2 Source1: gem_build_cleanup Source2: rubygems-rpmlintrc Source3: rubygems.macros Patch: rubygems-1.5.0_buildroot.patch Summary: The Ruby standard for publishing and managing third party libraries %description RubyGems is the Ruby standard for publishing and managing third party libraries. %prep %setup -n %{name}-%{version} %patch %build %install GEM_HOME=%{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/ \ ruby -rvendor-specific setup.rb --destdir=%{buildroot} %{__install} -D -m 0755 %{S:1} %{buildroot}%{_bindir}/gem_build_cleanup %{__install} -D -m 0644 %{S:3} %{buildroot}/etc/rpm/macros.rubygems %{__mkdir_p} %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/cache/ %{__mkdir_p} %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/doc/ %{__mkdir_p} %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/ %{__mkdir_p} %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/specifications/ %check rake test ||: %clean %{__rm} -rf %{buildroot}; %files %defattr(-,root,root) %config(noreplace) /etc/rpm/macros.rubygems %doc ChangeLog GPL.txt LICENSE.txt README.rdoc History.txt %doc test/ pkgs/ %{_bindir}/gem_build_cleanup %{_bindir}/gem %dir %{_libdir}/ruby/vendor_ruby/%{rb_ver}/rbconfig/ %{_libdir}/ruby/vendor_ruby/%{rb_ver}/rbconfig/datadir.rb %{_libdir}/ruby/vendor_ruby/%{rb_ver}/*ubygems.rb %{_libdir}/ruby/vendor_ruby/%{rb_ver}/rubygems/ %dir %{_libdir}/ruby/gems/ %dir %{_libdir}/ruby/gems/%{rb_ver} %dir %{_libdir}/ruby/gems/%{rb_ver}/cache/ %dir %{_libdir}/ruby/gems/%{rb_ver}/doc/ %dir %{_libdir}/ruby/gems/%{rb_ver}/gems/ %dir %{_libdir}/ruby/gems/%{rb_ver}/specifications/ %changelog ++++++ _link ++++++ <link project="openSUSE:12.1" package="rubygems" baserev="5b098dc4ea54c4490fabe982f0c7e731"> <patches> <branch/> </patches> </link> ++++++ gem_build_cleanup ++++++ #!/bin/sh if [ ${#*} = 1 ] ; then if [ -d "$1" ] ; then find $1 \ \( -name \*.o -o -name Makefile -o -name gem_make.out -o -name mkmf.log -o -name \*.bak -o -name CVS \) \ -print0 | xargs -r0 rm -v else echo "'$1' does not exists or is not a directory! Exiting." >&2 exit 1 fi else echo "Please pass exact one argument to this script! Exiting." >&2 exit 1 fi ++++++ rubygems-1.5.0_buildroot.patch ++++++ Index: lib/rubygems/dependency_installer.rb =================================================================== --- lib/rubygems/dependency_installer.rb.orig +++ lib/rubygems/dependency_installer.rb @@ -68,6 +68,7 @@ class Gem::DependencyInstaller @installed_gems = [] @install_dir = options[:install_dir] || Gem.dir + @build_root = options[:build_root] @cache_dir = options[:cache_dir] || @install_dir # Set with any errors that SpecFetcher finds while search through @@ -276,6 +277,7 @@ class Gem::DependencyInstaller :format_executable => @format_executable, :ignore_dependencies => @ignore_dependencies, :install_dir => @install_dir, + :build_root => @build_root, :security_policy => @security_policy, :source_index => @source_index, :user_install => @user_install, Index: lib/rubygems/installer.rb =================================================================== --- lib/rubygems/installer.rb.orig +++ lib/rubygems/installer.rb @@ -402,6 +402,15 @@ class Gem::Installer @bin_dir = options[:bin_dir] @development = options[:development] @source_index = options[:source_index] + @build_root = options[:build_root] + + unless @build_root.nil? + require 'pathname' + @build_root = Pathname.new(@build_root).expand_path + @bin_dir = File.join(@build_root, options[:bin_dir] || Gem.bindir(@gem_home)) + @gem_home = File.join(@build_root,@gem_home) + alert_warning "You build with buildroot.\n Build root: #{@build_root}\n Bin dir: #{@bin_dir}\n Gem home: #{@gem_home}" + end end def load_gem_file Index: lib/rubygems/install_update_options.rb =================================================================== --- lib/rubygems/install_update_options.rb.orig +++ lib/rubygems/install_update_options.rb @@ -44,6 +44,12 @@ module Gem::InstallUpdateOptions options[:bin_dir] = File.expand_path(value) end + add_option(:"Install/Update", '--build-root DIR', + 'Temporary installation root. Useful for building', + 'packages. Do not use this when installing remote gems.') do |value, options| + options[:build_root] = File.expand_path(value) + end + add_option(:"Install/Update", '-d', '--[no-]rdoc', 'Generate RDoc documentation for the gem on', 'install') do |value, options| ++++++ rubygems-rpmlintrc ++++++ addFilter("non-executable-script /usr/lib.*/ruby/vendor_ruby/.*") addFilter("devel-dependency") ++++++ rubygems.macros ++++++ %gem_install /usr/bin/gem install --verbose --local --build-root=%{buildroot} %gem_cleanup /usr/bin/gem_build_cleanup %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ %rubygems_requires() \ %if 0%{?suse_version} > 1100 \ %{requires_ge rubygems} \ %else \ %{requires_eq rubygems} \ %endif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org