Hello community,

here is the log from the commit of package rubygem-ruby_parser for 
openSUSE:Factory checked in at 2012-11-12 11:43:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-ruby_parser (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-ruby_parser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-ruby_parser/rubygem-ruby_parser.changes  
2012-07-22 15:23:29.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-ruby_parser.new/rubygem-ruby_parser.changes 
    2012-11-12 11:43:49.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Nov  3 10:03:40 UTC 2012 - [email protected]
+
+- updated to version 3.0.1, see the long History.txt
+
+-------------------------------------------------------------------

Old:
----
  ruby_parser-2.3.1.gem

New:
----
  ruby_parser-3.0.1.gem

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

Other differences:
------------------
++++++ rubygem-ruby_parser.spec ++++++
--- /var/tmp/diff_new_pack.CvfDnS/_old  2012-11-12 11:43:50.000000000 +0100
+++ /var/tmp/diff_new_pack.CvfDnS/_new  2012-11-12 11:43:50.000000000 +0100
@@ -17,23 +17,17 @@
 
 
 Name:           rubygem-ruby_parser
-Version:        2.3.1
+Version:        3.0.1
 Release:        0
 %define mod_name ruby_parser
-#
-#
+%define mod_full_name %{mod_name}-%{version}
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  rubygems_with_buildroot_patch
-%rubygems_requires
-# sexp_processor ~> 3.0
-BuildRequires:  rubygem-sexp_processor-3 >= 3.0
-Requires:       rubygem-sexp_processor-3 >= 3.0
-Provides:       rubygem-ruby_parser-2 = %{version}
-#
-Url:            http://parsetree.rubyforge.org/
-Source:         %{mod_name}-%{version}.gem
-#
-Summary:        ruby_parser (RP) is a ruby parser written in pure ruby 
(utilizing racc--which does by default use a C extension)
+BuildRequires:  ruby-macros >= 1
+BuildRequires:  rubygem(rdoc) > 3.10
+Url:            https://github.com/seattlerb/ruby_parser
+Source:         %{mod_full_name}.gem
+Summary:        ruby_parser (RP) is a ruby parser written in pure ruby 
(utilizing
 License:        MIT
 Group:          Development/Languages/Ruby
 
@@ -42,45 +36,61 @@
 racc--which does by default use a C extension). RP's output is
 the same as ParseTree's output: s-expressions using ruby's arrays and
 base types.
-
 As an example:
+def conditional1 arg1
+return 1 if arg1 == 0
+return 0
+end
+becomes:
+s(:defn, :conditional1, s(:args, :arg1),
+s(:if,
+s(:call, s(:lvar, :arg1), :==, s(:lit, 0)),
+s(:return, s(:lit, 1)),
+nil),
+s(:return, s(:lit, 0)))
+
+%package doc
+Summary:        RDoc documentation for %{mod_name}
+Group:          Development/Languages/Ruby
+Requires:       %{name} = %{version}
 
-  def conditional1(arg1)
-    if arg1 == 0 then
-      return 1
-    end
-    return 0
-  end
+%description doc
+Documentation generated at gem installation time.
+Usually in RDoc and RI formats.
 
-becomes:
+%package testsuite
+Summary:        Test suite for %{mod_name}
+Group:          Development/Languages/Ruby
+Requires:       %{name} = %{version}
 
-  s(:defn, :conditional1,
-   s(:args, :arg1),
-   s(:scope,
-    s(:block,
-     s(:if,
-      s(:call, s(:lvar, :arg1), :==, s(:arglist, s(:lit, 0))),
-      s(:return, s(:lit, 1)),
-      nil),
-     s(:return, s(:lit, 0)))))
+%description testsuite
+Test::Unit or RSpec files, useful for developers.
 
 %prep
-%build
-%install
-%gem_install %{S:0}
+#gem_unpack
+#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
+#gem_build
 
-# fix require of /usr/local/bin/ruby
-sed -i 's,/usr/local/bin/ruby,/usr/bin/ruby,' 
%{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/test/*.rb
+%build
 
-%clean
-%{__rm} -rf %{buildroot}
+%install
+%gem_install -f
 
 %files
 %defattr(-,root,root,-)
 %{_bindir}/ruby_parse
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
+%{_bindir}/ruby_parse_extract_error
+%{_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
+%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+
+%files doc
+%defattr(-,root,root,-)
+%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+
+%files testsuite
+%defattr(-,root,root,-)
+%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to