[rubygem-gherkin/el5/master] Fixed json version dependency mark

Michal Fojtik mfojtik at fedoraproject.org
Mon Sep 27 16:07:52 UTC 2010


commit 8f0bfe0277d50d94733e2cf617ea1a6118cd96f2
Author: Michal Fojtik <mfojtik at redhat.com>
Date:   Mon Sep 27 18:07:53 2010 +0200

    Fixed json version dependency mark

 rubygem-gherkin.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/rubygem-gherkin.spec b/rubygem-gherkin.spec
index eaae7c3..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: 2%{?dist}
+Release: 3%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://github.com/aslakhellesoy/gherkin
@@ -91,8 +91,8 @@ 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
+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
@@ -143,6 +143,10 @@ rm -rf %{buildroot}
 %{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
 


More information about the scm-commits mailing list