lkundrak pushed to rubygem-jgrep (master). "Work around JRuby woes (rh #1219502)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 7 14:17:26 UTC 2015


From 533181d33dc0e81902c51bff2a9d5698e185f8e0 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak at v3.sk>
Date: Thu, 7 May 2015 16:17:07 +0200
Subject: Work around JRuby woes (rh #1219502)


diff --git a/rubygem-jgrep.spec b/rubygem-jgrep.spec
index d4c0e40..56769f0 100644
--- a/rubygem-jgrep.spec
+++ b/rubygem-jgrep.spec
@@ -3,7 +3,7 @@
 
 Name:           rubygem-%{gem_name}
 Version:        1.3.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Query JSON structure with a matching language
 
 Group:          Development/Tools
@@ -22,6 +22,10 @@ Requires:       ruby(release) >= 1.8
 Requires:       rubygems
 Provides:       rubygem(%{gem_name}) = %{version}-%{release}
 
+# Drag in the pure Ruby implementation too, so that jruby has something to
+# fall back to: https://bugzilla.redhat.com/show_bug.cgi?id=1219502
+Requires:       rubygem(json_pure)
+
 %description
 JGrep is  Ruby-based CLI tool and API for parsing and displaying JSON data
 using a logical expression syntax. It allows you to search a list of JSON
@@ -76,6 +80,9 @@ rspec -Ilib spec
 
 
 %changelog
+* Thu May  7 2015 Lubomir Rintel <lkundrak at v3.sk> - 1.3.3-4
+- Work around JRuby woes (rh #1219502)
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/rubygem-jgrep.git/commit/?h=master&id=533181d33dc0e81902c51bff2a9d5698e185f8e0


More information about the scm-commits mailing list