Hello community,

here is the log from the commit of package rubygem-rack-1_4 for 
openSUSE:Factory checked in at 2013-05-13 20:50:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rack-1_4 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-rack-1_4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-rack-1_4"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rack-1_4/rubygem-rack-1_4.changes        
2013-02-11 15:14:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rack-1_4.new/rubygem-rack-1_4.changes   
2013-05-13 20:50:33.000000000 +0200
@@ -1,0 +2,5 @@
+Mon May 13 11:28:47 UTC 2013 - [email protected]
+
+- sync gem2rpm template
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygem-rack-1_4.spec ++++++
--- /var/tmp/diff_new_pack.G7yQQa/_old  2013-05-13 20:50:34.000000000 +0200
+++ /var/tmp/diff_new_pack.G7yQQa/_new  2013-05-13 20:50:34.000000000 +0200
@@ -20,18 +20,18 @@
 Version:        1.4.5
 Release:        0
 %define mod_name rack
-%define mod_branch -1_4
-%define mod_weight 14
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros >= 1
-Requires(pre):  update-alternatives
-Url:            http://rack.rubyforge.org
-Source:         %{mod_full_name}.gem
+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 -%{version}
+%define mod_weight 1
+PreReq:         update-alternatives
 
 %description
 Rack provides a minimal, modular and adaptable interface for developing
@@ -39,7 +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}
@@ -68,7 +68,10 @@
 %install
 %gem_install -f
 mv %{buildroot}%{_bindir}/rackup{,%{mod_branch}}
-ln -s rackup %{buildroot}%{_bindir}/rackup
+ln -s rackup%{mod_branch} %{buildroot}%{_bindir}/rackup
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING 
%buildroot/%{_docdir}/%{name}/COPYING
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -81,8 +84,9 @@
 
 %files
 %defattr(-,root,root,-)
-%ghost %config(noreplace) %{_bindir}/rackup
+%{_docdir}/%{name}
 %{_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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to