[rubygem-gherkin] Fixed JSON version

Michal Fojtik mfojtik at fedoraproject.org
Wed Sep 29 07:48:22 UTC 2010


commit ee042b82d2e048dc8bfe8b74c4d40b8a7ab91567
Author: Michal Fojtik <mfojtik at redhat.com>
Date:   Wed Sep 29 09:48:17 2010 +0200

    Fixed JSON version

 rubygem-gherkin.spec |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-gherkin.spec b/rubygem-gherkin.spec
index 2bbaebf..dd78a2d 100644
--- a/rubygem-gherkin.spec
+++ b/rubygem-gherkin.spec
@@ -7,7 +7,7 @@
 Summary: Fast Gherkin lexer/parser
 Name: rubygem-%{gemname}
 Version: 2.2.4
-Release: 1%{?dist}
+Release: 3%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://github.com/aslakhellesoy/gherkin
@@ -90,6 +90,10 @@ rm -f %{buildroot}%{geminstdir}/lib/gherkin/rb_lexer/.gitignore
 rm -f %{buildroot}%{geminstdir}/java/src/main/resources/gherkin/.gitignore
 rm -f %{buildroot}%{geminstdir}/lib/.gitignore
 rm -f %{buildroot}%{geminstdir}/.rvmrc
+# Fix JSON dependency hell
+sed -i -e "s|~> 1.4.6|>= 1.1.9|" %{buildroot}%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+sed -i -e "s|~> 1.4.6|>= 1.1.9|" %{buildroot}%{geminstdir}/%{gemname}.gemspec
+
 find $RPM_BUILD_ROOT%{geminstdir} -type f | grep '.gitignore' | xargs rm -f
 # Fix wrong executable flag on files
 chmod -x %{buildroot}%{geminstdir}/tasks/ragel_task.rb
@@ -136,9 +140,16 @@ rm -rf %{buildroot}
 %{geminstdir}/Rakefile
 %{geminstdir}/ext
 %{geminstdir}/tasks
-#%{gemdir}/doc/%{gemname}-%{version}
+%{gemdir}/doc/%{gemname}-%{version}
 
 %changelog
+* Fri Sep 24 2010 Michal Fojtik <mfojtik at redhat.com> - 2.2.4-3
+- Replaced ~> with >= in JSON version so now it can be used
+  with latest json as well
+
+* Fri Sep 24 2010 Michal Fojtik <mfojtik at redhat.com> - 2.2.4-2
+- Fixed JSON dependency version
+
 * Fri Sep 24 2010 Michal Fojtik <mfojtik at redhat.com> - 2.2.4-1
 - Version bump
 


More information about the scm-commits mailing list