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

Michal Fojtik mfojtik at fedoraproject.org
Mon Sep 27 16:06:39 UTC 2010


commit efb0a9568474c9a80774611e2564e8ab892bab35
Author: Michal Fojtik <mfojtik at redhat.com>
Date:   Mon Sep 27 18:06:40 2010 +0200

    Fixed json version dependency mark

 rubygem-gherkin.spec |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/rubygem-gherkin.spec b/rubygem-gherkin.spec
index d519f10..dd78a2d 100644
--- a/rubygem-gherkin.spec
+++ b/rubygem-gherkin.spec
@@ -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.4.3|" %{buildroot}%{gemdir}/specifications/%{gemname}-%{version}.gemspec
-sed -i -e "s|1.4.6|1.4.3|" %{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,8 +143,9 @@ rm -rf %{buildroot}
 %{gemdir}/doc/%{gemname}-%{version}
 
 %changelog
-* Fri Sep 26 2010 Michal Fojtik <mfojtik at redhat.com> - 2.2.4-3
-- Updated JSON version in this gem
+* 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