Hello community, here is the log from the commit of package rubygem-sprockets for openSUSE:Factory checked in at 2013-04-20 18:01:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets (Old) and /work/SRC/openSUSE:Factory/.rubygem-sprockets.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sprockets", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-sprockets/rubygem-sprockets.changes 2013-03-11 07:44:29.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sprockets.new/rubygem-sprockets.changes 2013-04-20 18:01:49.000000000 +0200 @@ -1,0 +2,8 @@ +Fri Apr 12 11:50:13 UTC 2013 - [email protected] + +- updated to version 2.9.2 + * Improve file freshness check performance + * Directive processor encoding fixes + * Support for Uglifier 2.x + +------------------------------------------------------------------- Old: ---- sprockets-2.9.0.gem New: ---- sprockets-2.9.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-sprockets.spec ++++++ --- /var/tmp/diff_new_pack.WaVexT/_old 2013-04-20 18:01:51.000000000 +0200 +++ /var/tmp/diff_new_pack.WaVexT/_new 2013-04-20 18:01:51.000000000 +0200 @@ -17,7 +17,7 @@ Name: rubygem-sprockets -Version: 2.9.0 +Version: 2.9.2 Release: 0 %define mod_name sprockets %define mod_full_name %{mod_name}-%{version} @@ -25,10 +25,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 Url: http://getsprockets.org/ -Source: %{mod_full_name}.gem +Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary: Rack-based asset packaging system License: MIT Group: Development/Languages/Ruby +%define mod_branch -2.9.2 +%define mod_weight 2 +PreReq: update-alternatives %description Sprockets is a Rack-based asset packaging system that concatenates and serves @@ -52,10 +55,22 @@ %install %gem_install -f +mv %{buildroot}%{_bindir}/sprockets{,%{mod_branch}} +ln -s sprockets%{mod_branch} %{buildroot}%{_bindir}/sprockets + +%post +/usr/sbin/update-alternatives --install \ + %{_bindir}/sprockets sprockets %{_bindir}/sprockets%{mod_branch} %{mod_weight} + +%preun +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove sprockets %{_bindir}/sprockets%{mod_branch} +fi %files %defattr(-,root,root,-) -%{_bindir}/sprockets +%{_bindir}/sprockets%{mod_branch} +%ghost %{_bindir}/sprockets %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
