Hello community,

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

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-tilt/rubygem-tilt.changes        
2013-03-26 07:02:07.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-tilt.new/rubygem-tilt.changes   
2013-04-20 18:02:14.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Apr 12 09:21:14 UTC 2013 - [email protected]
+
+- updated to version 1.3.7
+ * Erubis: Check for the correct constant (#183, mattwildig)
+ * Don't fail when BasicObject is defined in 1.8 (#182, technobrat, judofyr)
+
+-------------------------------------------------------------------

Old:
----
  tilt-1.3.6.gem

New:
----
  tilt-1.3.7.gem

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

Other differences:
------------------
++++++ rubygem-tilt.spec ++++++
--- /var/tmp/diff_new_pack.eBAveG/_old  2013-04-20 18:02:15.000000000 +0200
+++ /var/tmp/diff_new_pack.eBAveG/_new  2013-04-20 18:02:15.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-tilt
-Version:        1.3.6
+Version:        1.3.7
 Release:        0
 %define mod_name tilt
 %define mod_full_name %{mod_name}-%{version}
@@ -26,10 +26,13 @@
 BuildRequires:  ruby-macros >= 1
 BuildRequires:  rubygem(rdoc) > 3.10
 Url:            http://github.com/rtomayko/tilt/
-Source:         %{mod_full_name}.gem
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Generic interface to multiple Ruby template engines
 License:        MIT
 Group:          Development/Languages/Ruby
+%define mod_branch -1.3.7
+%define mod_weight 1
+PreReq:         update-alternatives
 
 %description
 Generic interface to multiple Ruby template engines
@@ -60,10 +63,22 @@
 
 %install
 %gem_install -f
+mv %{buildroot}%{_bindir}/tilt{,%{mod_branch}}
+ln -s tilt%{mod_branch} %{buildroot}%{_bindir}/tilt
+
+%post
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/tilt tilt %{_bindir}/tilt%{mod_branch} %{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove tilt %{_bindir}/tilt%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/tilt
+%{_bindir}/tilt%{mod_branch}
+%ghost %{_bindir}/tilt
 %{_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