Hello community,

here is the log from the commit of package rubygem-rake-compiler for 
openSUSE:Factory checked in at 2013-08-05 20:54:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rake-compiler (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-rake-compiler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-rake-compiler"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-rake-compiler/rubygem-rake-compiler.changes  
    2013-03-11 10:40:34.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rake-compiler.new/rubygem-rake-compiler.changes
 2013-08-05 20:54:17.000000000 +0200
@@ -1,0 +2,36 @@
+Mon Aug  5 09:21:38 UTC 2013 - co...@suse.com
+
+- updated to version 0.9.1
+ * Bugfixes:
+   * Restore compatibility with RubyGems platforms for cross-compilation
+     (i386-mingw32 and x86-mingw32 are the same and supported)
+ 
+ === 0.9.0 / 2013-08-03
+ 
+ * Enhancements:
+   * Add support for cross-builds and multiple platforms (x86/x64).
+     Pull #74 [larskanis]
+ 
+       $ rake-compiler cross-ruby VERSION=1.8.7-p371
+       $ rake-compiler cross-ruby VERSION=1.9.3-p392
+       $ rake-compiler cross-ruby VERSION=2.0.0-p0
+       $ rake-compiler cross-ruby VERSION=2.0.0-p0 HOST=x86_64-w64-mingw32
+       $ rake cross compile RUBY_CC_VERSION=1.8.7:1.9.3:2.0.0
+ 
+       # Rakefile
+       ext.cross_platform = %w[i386-mingw32 x64-mingw32]
+ 
+   * Support for cross-platform specific options. Pull #74 [larskanis]
+ 
+       # Rakefile
+       ext.cross_config_options << "--with-common-option"
+       ext.cross_config_options << {"x64-mingw32" => "--enable-64bits"}
+ 
+ * Bugfixes:
+   * Correct fat-gems support caused by RubyGems issues. Pull #76 [knu]
+ 
+ * Deprecations:
+   * Requires minimum Ruby 1.8.7 and RubyGems 1.8.25
+   * Usage of 'i386-mswin32' needs to be changed to 'i386-mswin32-60'
+ 
+-------------------------------------------------------------------

Old:
----
  rake-compiler-0.8.3.gem

New:
----
  rake-compiler-0.9.1.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-rake-compiler.spec ++++++
--- /var/tmp/diff_new_pack.ejX5zR/_old  2013-08-05 20:54:18.000000000 +0200
+++ /var/tmp/diff_new_pack.ejX5zR/_new  2013-08-05 20:54:18.000000000 +0200
@@ -17,21 +17,25 @@
 
 
 Name:           rubygem-rake-compiler
-Version:        0.8.3
+Version:        0.9.1
 Release:        0
 %define mod_name rake-compiler
 %define mod_full_name %{mod_name}-%{version}
+%define mod_branch -%{version}
+%define mod_weight 901
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros >= 1
-Requires:       ruby >= 1.8.6
-BuildRequires:  ruby-devel >= 1.8.6
+Requires:       ruby >= 1.8.7
+BuildRequires:  ruby-devel >= 1.8.7
+BuildRequires:  update-alternatives
 BuildRequires:  rubygem(rdoc) > 3.10
 Url:            http://github.com/luislavena/rake-compiler
-Source:         %{mod_full_name}.gem
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Rake-based Ruby Extension (C, Java) task generator
 License:        MIT
 Group:          Development/Languages/Ruby
+PreReq:         update-alternatives
 
 %description
 Provide a standard and simplified way to build and package
@@ -63,10 +67,31 @@
 
 %install
 %gem_install -f
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+mv %{buildroot}%{_bindir}/rake-compiler{,%{mod_branch}}
+touch %{buildroot}%{_sysconfdir}/alternatives/rake-compiler
+ln -s %{_sysconfdir}/alternatives/rake-compiler 
%{buildroot}%{_bindir}/rake-compiler
+
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/History.txt 
%buildroot/%{_docdir}/%{name}/History.txt
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE.txt 
%buildroot/%{_docdir}/%{name}/LICENSE.txt
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
+
+%post
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/rake-compiler rake-compiler 
%{_bindir}/rake-compiler%{mod_branch} %{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove rake-compiler 
%{_bindir}/rake-compiler%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
+%{_bindir}/rake-compiler%{mod_branch}
 %{_bindir}/rake-compiler
+%ghost %{_sysconfdir}/alternatives/rake-compiler
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to