Hello community,

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

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rdoc/rubygem-rdoc.changes        
2013-03-08 11:20:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rdoc.new/rubygem-rdoc.changes   
2013-04-02 13:11:09.000000000 +0200
@@ -1,0 +2,48 @@
+Sat Mar 23 08:10:07 UTC 2013 - [email protected]
+
+- updated to version 4.0.0
+ * Breaking changes (for more, see History.rdoc)
+   * The default output encoding for RDoc is now UTF-8.  Previously RDoc used
+     the default external encoding which was determined from your locale.
+     Issue #106 by Justin Baker.
+   * RDoc::RI::Store is now RDoc::Store so ri data generated by RDoc 4 cannot
+     be read by earlier versions of RDoc.  RDoc::RI::Store exists as an alias
+     of RDoc::Store so ri data from older versions can still be read.
+     RDoc::RI::Store will be removed in RDoc 5.
+ 
+     Tests that create RDoc::CodeObjects on the fly without wiring them into
+     the documentation tree (did not use add_class, add_method, etc.) must be
+     updated to use these methods.  The documentation tree automatically
+     attaches them to the store instance which allows lookups to work
+     correctly.  Additionally, a new method RDoc::Store#add_file must be used
+     instead of RDoc::TopLevel.new.  The latter will not be attached to the
+     documentation tree.
+   * RDoc generators must accept an RDoc::Store and an RDoc::Options in
+     initialize.  RDoc no longer passes an Array of RDoc::TopLevel objects to
+     #generate.  Use RDoc::Store#all_files instead.
+   * Some markup formatters (RDoc::Markup::To*) now accept an RDoc::Options
+     instance as the first argument.  Notably, the base class Formatter and
+     ToHtml*.  (This is not universal due to the difficult at accessing the
+     user's options instance deep inside RDoc.  A future major release may
+     remedy this.)
+   * Added new markup nodes and specials that RDoc::Markup::Formatter
+     subclasses must handle.  If you're using RDoc::Markup::FormatterTestCase
+     the new methods you need to add should be readily apparent.
+   * Removed RDoc::RI::Paths::SYSDIR and ::SITEDIR.  These were hidden
+     constants so no breakage is expected.  Use RDoc::RI::Paths::system_dir
+     and ::site_dir instead.
+   * RDoc::RI::Store#modules has been renamed to RDoc::Store#module_names
+     to avoid confusion with RDoc::Store#all_modules imported from
+     RDoc::TopLevel.
+   * RDoc::RDocError has been removed.  It was deprecated throughout RDoc 3.
+   * ri -f html is no longer supported.
+   * Comment definitions in C comments are now only discovered from the first
+     line.  A colon on a subsequent line won't trigger definition extraction.
+     Issue #103, see also
+     http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/42942
+   * Fixed :stopdoc: for class A::B where A has not been seen.  Issue #95 by
+     Ryan Davis
+   * RDoc::ClassModule#each_ancestor no longer yields itself if there is
+     circular ancestry
+
+-------------------------------------------------------------------

Old:
----
  rdoc-3.12.1.gem

New:
----
  rdoc-4.0.0.gem

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

Other differences:
------------------
++++++ rubygem-rdoc.spec ++++++
--- /var/tmp/diff_new_pack.lSZ7Kh/_old  2013-04-02 13:11:10.000000000 +0200
+++ /var/tmp/diff_new_pack.lSZ7Kh/_new  2013-04-02 13:11:10.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rdoc
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-rdoc
-Version:        3.12.1
+Version:        4.0.0
 Release:        0
 %define mod_name rdoc
 %define mod_full_name %{mod_name}-%{version}
@@ -26,17 +26,21 @@
 BuildRequires:  ruby-macros >= 1
 Requires:       ruby >= 1.8.7
 BuildRequires:  ruby-devel >= 1.8.7
+#MANUAL - no rdoc
+#BuildRequires:  rubygem(rdoc) > 3.10
 Url:            http://docs.seattlerb.org/rdoc
-Source:         %{mod_full_name}.gem
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        RDoc produces HTML and command-line documentation for Ruby 
projects
 License:        Ruby
 Group:          Development/Languages/Ruby
+%define mod_branch -4.0.0
+%define mod_weight 4
+PreReq:         update-alternatives
 
 %description
 RDoc produces HTML and command-line documentation for Ruby projects.  RDoc
-includes the +rdoc+ and +ri+ tools for generating and displaying online
-documentation.
-See RDoc for a description of RDoc's markup and basic use.
+includes the +rdoc+ and +ri+ tools for generating and displaying documentation
+from the command-line.
 
 %package doc
 Summary:        RDoc documentation for %{mod_name}
@@ -64,14 +68,31 @@
 
 %install
 %gem_install -f
-# MANUAL
-mv %{buildroot}/%{_bindir}/rdoc %{buildroot}/%{_bindir}/rdoc-%{version}
-mv %{buildroot}/%{_bindir}/ri %{buildroot}/%{_bindir}/ri-%{version}
+mv %{buildroot}%{_bindir}/rdoc{,%{mod_branch}}
+ln -s rdoc%{mod_branch} %{buildroot}%{_bindir}/rdoc
+mv %{buildroot}%{_bindir}/ri{,%{mod_branch}}
+ln -s ri%{mod_branch} %{buildroot}%{_bindir}/ri
+
+%post
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/rdoc rdoc %{_bindir}/rdoc%{mod_branch} %{mod_weight}
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/ri ri %{_bindir}/ri%{mod_branch} %{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove rdoc %{_bindir}/rdoc%{mod_branch}
+fi
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove ri %{_bindir}/ri%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/rdoc-%{version}
-%{_bindir}/ri-%{version}
+%{_bindir}/rdoc%{mod_branch}
+%ghost %{_bindir}/rdoc
+%{_bindir}/ri%{mod_branch}
+%ghost %{_bindir}/ri
 %{_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