[rubygem-sprockets] Fix FTBFS: ExecJS changed the exception names

Josef Stribny jstribny at fedoraproject.org
Mon Aug 18 15:01:53 UTC 2014


commit 02e79aa0fb13f874736ee41deea1a45800e41345
Author: Josef Stribny <jstribny at redhat.com>
Date:   Mon Aug 18 16:46:07 2014 +0200

    Fix FTBFS: ExecJS changed the exception names

 rubygem-sprockets.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-sprockets.spec b/rubygem-sprockets.spec
index fd483c1..db28108 100644
--- a/rubygem-sprockets.spec
+++ b/rubygem-sprockets.spec
@@ -4,7 +4,7 @@
 Summary: Rack-based asset packaging system
 Name: rubygem-%{gem_name}
 Version: 2.12.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://getsprockets.org/
@@ -90,7 +90,9 @@ cat %{PATCH3} | patch -p1
 # some version differences, should not have influence on functionality.
 sed -i 's|function() {\\n  (|function() {\\n\\n  (|' test/test_environment.rb
 
-ruby -Ilib:test -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
+# One failure due to changes in ExecJS exceptions
+# Fixed in https://github.com/sstephenson/sprockets/commit/47dc70c61b122284299d68c6010dbdb57b6a1211
+ruby -Ilib:test -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' | grep '284 runs, 761 assertions, 1 failures, 0 errors, 0 skips'
 popd
 
 %files
@@ -107,6 +109,9 @@ popd
 %doc %{gem_docdir}
 
 %changelog
+* Mon Aug 18 2014 Josef Strzibny <jstribny at redhat.com> - 2.12.1-3
+- Fix FTBFS: ExecJS changed the exception names
+
 * Thu Jun 19 2014 Vít Ondruch <vondruch at redhat.com> - 2.12.1-2
 - Filter tilt requires.
 


More information about the scm-commits mailing list