[rubygem-ruby_parser] Update to ruby_parser 3.1.1.

Vít Ondruch vondruch at fedoraproject.org
Wed Mar 13 08:13:33 UTC 2013


commit c852e05e56796a1df50381b7057cbd38c9dcb812
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Wed Mar 13 09:12:52 2013 +0100

    Update to ruby_parser 3.1.1.

 .gitignore               |    1 +
 rubygem-ruby_parser.spec |   29 +++++++++++------------------
 sources                  |    2 +-
 3 files changed, 13 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 007be76..982b93d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 ruby_parser-2.0.4.gem
 /ruby_parser-3.0.1.gem
+/ruby_parser-3.1.1.gem
diff --git a/rubygem-ruby_parser.spec b/rubygem-ruby_parser.spec
index c2b3b35..e4f05a1 100644
--- a/rubygem-ruby_parser.spec
+++ b/rubygem-ruby_parser.spec
@@ -4,17 +4,16 @@
 
 Summary: A ruby parser written in pure ruby
 Name: rubygem-%{gem_name}
-Version: 3.0.1
-Release: 3%{?dist}
+Version: 3.1.1
+Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
-URL: http://parsetree.rubyforge.org/
-Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
+URL: https://github.com/seattlerb/ruby_parser
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 # These test cases are carried in the ParseTree gem in test/. Carry them here
 # rather than attempting to install ParseTree-doc in check and introducing a circular
 # dependency
 Source1: pt_testcase.rb
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: rubygem(sexp_processor)
 Requires: ruby(rubygems)
 Requires: ruby(release)
@@ -53,9 +52,10 @@ rm -rf %{buildroot}
 mkdir -p %{buildroot}%{gem_dir}
 cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
 
-mkdir -p %{buildroot}/%{_bindir}
-mv %{buildroot}%{gem_dir}/bin/* %{buildroot}/%{_bindir}
-rmdir %{buildroot}%{gem_dir}/bin
+mkdir -p %{buildroot}%{_bindir}
+cp -pa .%{_bindir}/* \
+        %{buildroot}%{_bindir}/
+
 find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
 
 # Drop the standalone mode for tests - won't run that way due to missing 
@@ -68,16 +68,12 @@ find %{buildroot}%{gem_instdir} -type f | \
 find %{buildroot}%{gem_instdir}/bin -type f | \
   xargs chmod 0755
 
-%clean
-rm -rf %{buildroot}
-
 %check
 pushd .%{gem_instdir}
 testrb -Ilib test
 popd
 
 %files
-%defattr(-,root,root,-)
 %{_bindir}/ruby_parse
 %{_bindir}/ruby_parse_extract_error
 %doc %{gem_instdir}/History.txt
@@ -86,14 +82,10 @@ popd
 %dir %{gem_instdir}
 %{gem_instdir}/bin
 %{gem_libdir}
-# Script creates a circular dependency and is primarily for development
-# Included, but it's dependencies aren't met.
-#%{gem_libdir}/gauntlet_rubyparser.rb
-%{gem_cache}
+%exclude %{gem_cache}
 %{gem_spec}
 
 %files doc
-%defattr(-,root,root,-)
 %{gem_instdir}/Rakefile
 %{gem_instdir}/.gemtest
 %{gem_instdir}/.autotest
@@ -101,8 +93,9 @@ popd
 %{gem_docdir}
 
 %changelog
-* Tue Mar 12 2013 Vít Ondruch <vondruch at redhat.com> - 3.0.1-3
+* Tue Mar 12 2013 Vít Ondruch <vondruch at redhat.com> - 3.1.1-1
 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+- Update to ruby_parser 3.1.1.
 
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index bb57035..bbd09bf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f1e24aa693ea375f495ae0483b5ff35b  ruby_parser-3.0.1.gem
+cb8b03ddbdfef72a7ceb421ab561e049  ruby_parser-3.1.1.gem


More information about the scm-commits mailing list