commit rubygem-sass for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sass for openSUSE:Factory checked in at 2013-03-24 21:57:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-sass (Old) and /work/SRC/openSUSE:Factory/.rubygem-sass.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-sass", Maintainer is "JMassaguerPla@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-sass/rubygem-sass.changes 2013-03-12 15:04:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sass.new/rubygem-sass.changes 2013-03-24 22:00:52.000000000 +0100 @@ -1,0 +2,11 @@ +Sat Mar 23 06:31:58 UTC 2013 - coolo@suse.com + +- use update-alternatives + +------------------------------------------------------------------- +Mon Mar 18 06:14:39 UTC 2013 - coolo@suse.com + +- updated to version 3.2.7 + see http://sass-lang.com/docs/yardoc/file.SASS_CHANGELOG.html + +------------------------------------------------------------------- Old: ---- sass-3.2.6.gem New: ---- sass-3.2.7.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-sass.spec ++++++ --- /var/tmp/diff_new_pack.HZPEHQ/_old 2013-03-24 22:00:59.000000000 +0100 +++ /var/tmp/diff_new_pack.HZPEHQ/_new 2013-03-24 22:00:59.000000000 +0100 @@ -17,7 +17,7 @@ Name: rubygem-sass -Version: 3.2.6 +Version: 3.2.7 Release: 0 %define mod_name sass %define mod_full_name %{mod_name}-%{version} @@ -27,10 +27,13 @@ Requires: ruby >= 1.8.7 BuildRequires: ruby-devel >= 1.8.7 Url: http://sass-lang.com/ -Source: %{mod_full_name}.gem +Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary: A powerful but elegant CSS compiler that makes CSS fun again License: MIT Group: Development/Languages/Ruby +%define mod_branch -3.2.7 +%define mod_weight 3 +PreReq: update-alternatives %description Sass makes CSS fun again. Sass is an extension of CSS3, adding @@ -64,12 +67,40 @@ %install %gem_install -f +mv %{buildroot}%{_bindir}/sass{,%{mod_branch}} +ln -s sass%{mod_branch} %{buildroot}%{_bindir}/sass +mv %{buildroot}%{_bindir}/sass-convert{,%{mod_branch}} +ln -s sass-convert%{mod_branch} %{buildroot}%{_bindir}/sass-convert +mv %{buildroot}%{_bindir}/scss{,%{mod_branch}} +ln -s scss%{mod_branch} %{buildroot}%{_bindir}/scss + +%post +/usr/sbin/update-alternatives --install \ + %{_bindir}/sass sass %{_bindir}/sass%{mod_branch} %{mod_weight} +/usr/sbin/update-alternatives --install \ + %{_bindir}/sass-convert sass-convert %{_bindir}/sass-convert%{mod_branch} %{mod_weight} +/usr/sbin/update-alternatives --install \ + %{_bindir}/scss scss %{_bindir}/scss%{mod_branch} %{mod_weight} + +%preun +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove sass %{_bindir}/sass%{mod_branch} +fi +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove sass-convert %{_bindir}/sass-convert%{mod_branch} +fi +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove scss %{_bindir}/scss%{mod_branch} +fi %files %defattr(-,root,root,-) -%{_bindir}/sass -%{_bindir}/sass-convert -%{_bindir}/scss +%{_bindir}/sass%{mod_branch} +%ghost %{_bindir}/sass +%{_bindir}/sass-convert%{mod_branch} +%ghost %{_bindir}/sass-convert +%{_bindir}/scss%{mod_branch} +%ghost %{_bindir}/scss %{_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: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de