Hello community,

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

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-haml/rubygem-haml.changes        
2013-03-11 10:36:42.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-haml.new/rubygem-haml.changes   
2013-04-02 12:55:46.000000000 +0200
@@ -1,0 +2,16 @@
+Sat Mar 23 06:29:20 UTC 2013 - [email protected]
+
+- updated to version 4.0.1
+ * Remove Rails 3.2.3+ textarea hack in favor of a more general solution.
+ * Fix some performance regressions.
+ * Fix support for Rails 4 `text_area` helper method.
+ * Fix data attribute flattening with singleton objects.
+ (thanks [Alisdair McDiarmid](https://github.com/alisdair))
+ * Fix support for sass-rails 4.0 beta.
+ (thanks [Ryunosuke SATO](https://github.com/tricknotes))
+ * Load "haml/template" in Railtie in order to prevent user options set in a
+   Rails initializer from being overwritten
+ * Don't depend on Rails in haml/template to allow using Haml with ActionView
+   but without Rails itself. (thanks [Hunter 
Haydel](https://github.com/wedgex))
+
+-------------------------------------------------------------------

Old:
----
  haml-4.0.0.gem

New:
----
  haml-4.0.1.gem

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

Other differences:
------------------
++++++ rubygem-haml.spec ++++++
--- /var/tmp/diff_new_pack.6nGfHz/_old  2013-04-02 12:55:48.000000000 +0200
+++ /var/tmp/diff_new_pack.6nGfHz/_new  2013-04-02 12:55:48.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-haml
-Version:        4.0.0
+Version:        4.0.1
 Release:        0
 %define mod_name haml
 %define mod_full_name %{mod_name}-%{version}
@@ -25,10 +25,13 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros >= 1
 Url:            http://haml.info/
-Source:         %{mod_full_name}.gem
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        An elegant, structured (X)HTML/XML templating engine
 License:        MIT and SUSE-WTFPL-2.0 and GPL-2.0 and Artistic-2.0
 Group:          Development/Languages/Ruby
+%define mod_branch -4.0.1
+%define mod_weight 4
+PreReq:         update-alternatives
 
 %description
 Haml (HTML Abstraction Markup Language) is a layer on top of HTML or XML
@@ -66,10 +69,22 @@
 
 %install
 %gem_install -f
+mv %{buildroot}%{_bindir}/haml{,%{mod_branch}}
+ln -s haml%{mod_branch} %{buildroot}%{_bindir}/haml
+
+%post
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/haml haml %{_bindir}/haml%{mod_branch} %{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove haml %{_bindir}/haml%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/haml
+%{_bindir}/haml%{mod_branch}
+%ghost %{_bindir}/haml
 %{_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