Hello community,

here is the log from the commit of package rubygem-hoe for openSUSE:Factory 
checked in at 2013-03-21 22:15:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-hoe (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-hoe.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-hoe", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-hoe/rubygem-hoe.changes  2013-03-11 
07:43:42.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-hoe.new/rubygem-hoe.changes     
2013-03-21 22:15:02.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Mar 19 19:32:03 UTC 2013 - [email protected]
+
+- updated to version 3.5.2
+ * 1.9: fixed warning of ambiguous args in bin/sow. (amesee)
+
+-------------------------------------------------------------------

Old:
----
  hoe-3.5.1.gem

New:
----
  hoe-3.5.2.gem

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

Other differences:
------------------
++++++ rubygem-hoe.spec ++++++
--- /var/tmp/diff_new_pack.jr63RH/_old  2013-03-21 22:15:03.000000000 +0100
+++ /var/tmp/diff_new_pack.jr63RH/_new  2013-03-21 22:15:03.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-hoe
-Version:        3.5.1
+Version:        3.5.2
 Release:        0
 %define mod_name hoe
 %define mod_full_name %{mod_name}-%{version}
@@ -26,10 +26,13 @@
 BuildRequires:  ruby-macros >= 1
 BuildRequires:  rubygem(rdoc) > 3.10
 Url:            http://www.zenspider.com/projects/hoe.html
-Source:         %{mod_full_name}.gem
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Hoe is a rake/rubygems helper for project Rakefiles
 License:        MIT
 Group:          Development/Languages/Ruby
+%define mod_branch -3.5.2
+%define mod_weight 3
+PreReq:         update-alternatives
 
 %description
 Hoe is a rake/rubygems helper for project Rakefiles. It helps you
@@ -67,9 +70,21 @@
 
 %install
 %gem_install -f
+mv %{buildroot}%{_bindir}/sow{,%{mod_branch}}
+ln -s sow%{mod_branch} %{buildroot}%{_bindir}/sow
+
+%post
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/sow sow %{_bindir}/sow%{mod_branch} %{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove sow %{_bindir}/sow%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
+%{_bindir}/sow%{mod_branch}
 %{_bindir}/sow
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to