Hello community, here is the log from the commit of package rubygem-yard for openSUSE:Factory checked in at 2013-04-22 14:23:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-yard (Old) and /work/SRC/openSUSE:Factory/.rubygem-yard.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-yard", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-yard/rubygem-yard.changes 2013-03-11 07:46:24.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-yard.new/rubygem-yard.changes 2013-04-22 14:23:26.000000000 +0200 @@ -1,0 +2,11 @@ +Sun Apr 21 10:58:49 UTC 2013 - [email protected] + +- updated to version 0.8.6.1 + **Added `--layout` to `yard display` command** + +------------------------------------------------------------------- +Sun Apr 14 08:19:05 UTC 2013 - [email protected] + +- updated to version 0.8.6 + +------------------------------------------------------------------- Old: ---- yard-0.8.5.2.gem New: ---- yard-0.8.6.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-yard.spec ++++++ --- /var/tmp/diff_new_pack.DUItkt/_old 2013-04-22 14:23:28.000000000 +0200 +++ /var/tmp/diff_new_pack.DUItkt/_new 2013-04-22 14:23:28.000000000 +0200 @@ -17,7 +17,7 @@ Name: rubygem-yard -Version: 0.8.5.2 +Version: 0.8.6.1 Release: 0 %define mod_name yard %define mod_full_name %{mod_name}-%{version} @@ -25,10 +25,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 Url: http://yardoc.org -Source: %{mod_full_name}.gem +Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary: Documentation tool for consistent and usable documentation in Ruby License: MIT Group: Development/Languages/Ruby +%define mod_branch -0.8.6.1 +%define mod_weight 0 +PreReq: update-alternatives %description YARD is a documentation generation tool for the Ruby programming language. @@ -62,12 +65,40 @@ %install %gem_install -f +mv %{buildroot}%{_bindir}/yard{,%{mod_branch}} +ln -s yard%{mod_branch} %{buildroot}%{_bindir}/yard +mv %{buildroot}%{_bindir}/yardoc{,%{mod_branch}} +ln -s yardoc%{mod_branch} %{buildroot}%{_bindir}/yardoc +mv %{buildroot}%{_bindir}/yri{,%{mod_branch}} +ln -s yri%{mod_branch} %{buildroot}%{_bindir}/yri + +%post +/usr/sbin/update-alternatives --install \ + %{_bindir}/yard yard %{_bindir}/yard%{mod_branch} %{mod_weight} +/usr/sbin/update-alternatives --install \ + %{_bindir}/yardoc yardoc %{_bindir}/yardoc%{mod_branch} %{mod_weight} +/usr/sbin/update-alternatives --install \ + %{_bindir}/yri yri %{_bindir}/yri%{mod_branch} %{mod_weight} + +%preun +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove yard %{_bindir}/yard%{mod_branch} +fi +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove yardoc %{_bindir}/yardoc%{mod_branch} +fi +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove yri %{_bindir}/yri%{mod_branch} +fi %files %defattr(-,root,root,-) -%{_bindir}/yard -%{_bindir}/yardoc -%{_bindir}/yri +%{_bindir}/yard%{mod_branch} +%ghost %{_bindir}/yard +%{_bindir}/yardoc%{mod_branch} +%ghost %{_bindir}/yardoc +%{_bindir}/yri%{mod_branch} +%ghost %{_bindir}/yri %{_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}/spec -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
