Hello community, here is the log from the commit of package rubygem-rack-1_3 for openSUSE:Factory checked in at 2013-04-02 13:10:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-rack-1_3 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-1_3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-rack-1_3", Maintainer is "MRueckert@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-rack-1_3/rubygem-rack-1_3.changes 2012-03-24 23:26:20.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-1_3.new/rubygem-rack-1_3.changes 2013-04-02 13:10:49.000000000 +0200 @@ -1,0 +2,5 @@ +Sat Mar 23 08:00:33 UTC 2013 - coolo@suse.com + +- updated to version 1.3.10 + +------------------------------------------------------------------- Old: ---- rack-1.3.5.gem New: ---- rack-1.3.10.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rack-1_3.spec ++++++ --- /var/tmp/diff_new_pack.QddKOb/_old 2013-04-02 13:10:51.000000000 +0200 +++ /var/tmp/diff_new_pack.QddKOb/_new 2013-04-02 13:10:51.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rack-1_3 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -15,24 +15,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: rubygem-rack-1_3 -Version: 1.3.5 +Version: 1.3.10 Release: 0 -License: MIT -Summary: A modular Ruby webserver interface -Url: http://rack.rubyforge.org -Group: Development/Languages/Ruby %define mod_name rack %define mod_full_name %{mod_name}-%{version} -%define mod_branch -1_3 -%define mod_weight 13 -Source: %{mod_full_name}.gem -BuildRequires: rubygems_with_buildroot_patch -Requires(pre): update-alternatives -Provides: rubygem-%{mod_name}-1 = %{version} -Provides: rubygem-%{mod_name} = %{version} + BuildRoot: %{_tmppath}/%{name}-%{version}-build -%rubygems_requires +BuildRequires: ruby-macros >= 1 +Url: http://rack.github.com/ +Source: http://rubygems.org/gems/%{mod_full_name}.gem +Summary: a modular Ruby webserver interface +License: MIT +Group: Development/Languages/Ruby +%define mod_branch -1.3.10 +%define mod_weight 1 +PreReq: update-alternatives %description Rack provides minimal, modular and adaptable interface for developing @@ -40,8 +39,7 @@ the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call. - -Also see http://rack.rubyforge.org. +Also see http://rack.github.com/. %package doc Summary: RDoc documentation for %{mod_name} @@ -61,15 +59,16 @@ Test::Unit or RSpec files, useful for developers. %prep +#gem_unpack +#if you need patches, apply them here and replace the # with a % sign in the surrounding lines +#gem_build + %build + %install -%gem_install %{SOURCE0} +%gem_install -f mv %{buildroot}%{_bindir}/rackup{,%{mod_branch}} -ln -s rackup %{buildroot}%{_bindir}/rackup -# make sure it installs the right version when using rackup-* -ruby -p -i.bak -e '$_.gsub!(/>= 0/, "= %{version}")' %{buildroot}%{_bindir}/rackup%{mod_branch} -diff -urN %{buildroot}%{_bindir}/rackup%{mod_branch}{.bak,} || : -rm %{buildroot}%{_bindir}/rackup%{mod_branch}.bak +ln -s rackup%{mod_branch} %{buildroot}%{_bindir}/rackup %post /usr/sbin/update-alternatives --install \ @@ -82,8 +81,8 @@ %files %defattr(-,root,root,-) -%ghost %config(noreplace) %{_bindir}/rackup %{_bindir}/rackup%{mod_branch} +%ghost %{_bindir}/rackup %{_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}/test -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org