[rubygem-gherkin/f12/master] Fixed JSON dependency version
Michal Fojtik
mfojtik at fedoraproject.org
Fri Sep 24 15:26:23 UTC 2010
commit 14032ca74499c13caa3db44733349a897ced897c
Author: Michal Fojtik <mfojtik at redhat.com>
Date: Fri Sep 24 17:26:22 2010 +0200
Fixed JSON dependency version
rubygem-gherkin.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-gherkin.spec b/rubygem-gherkin.spec
index 7ba89a5..eaae7c3 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: 2%{?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
@@ -139,6 +143,9 @@ rm -rf %{buildroot}
%{gemdir}/doc/%{gemname}-%{version}
%changelog
+* 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