Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2013-04-02 12:55:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-flog.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-flog", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes        
2013-01-24 15:45:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2013-04-02 12:55:33.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Mar 23 08:05:09 UTC 2013 - [email protected]
+
+- updated to version 3.2.3
+ * 1 bug fix:
+   * Don't blow up if a path doesn't exist or isn't readable.
+
+-------------------------------------------------------------------

Old:
----
  flog-3.2.2.gem

New:
----
  flog-3.2.3.gem

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

Other differences:
------------------
++++++ rubygem-flog.spec ++++++
--- /var/tmp/diff_new_pack.l4s1Gs/_old  2013-04-02 12:55:35.000000000 +0200
+++ /var/tmp/diff_new_pack.l4s1Gs/_new  2013-04-02 12:55:35.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-flog
-Version:        3.2.2
+Version:        3.2.3
 Release:        0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}
@@ -26,10 +26,13 @@
 BuildRequires:  ruby-macros >= 1
 BuildRequires:  rubygem(rdoc) > 3.10
 Url:            http://ruby.sadi.st/
-Source:         %{mod_full_name}.gem
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Flog reports the most tortured code in an easy to read pain 
report
 License:        MIT
 Group:          Development/Languages/Ruby
+%define mod_branch -3.2.3
+%define mod_weight 3
+PreReq:         update-alternatives
 
 %description
 Flog reports the most tortured code in an easy to read pain
@@ -61,10 +64,22 @@
 
 %install
 %gem_install -f
+mv %{buildroot}%{_bindir}/flog{,%{mod_branch}}
+ln -s flog%{mod_branch} %{buildroot}%{_bindir}/flog
+
+%post
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/flog flog %{_bindir}/flog%{mod_branch} %{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove flog %{_bindir}/flog%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/flog
+%{_bindir}/flog%{mod_branch}
+%ghost %{_bindir}/flog
 %{_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