[rubygem-gherkin/el5/master] Fixed JSON dependency version
Michal Fojtik
mfojtik at fedoraproject.org
Fri Sep 24 15:27:08 UTC 2010
commit 901154b4a96d056c13755dc3a3eac485746aa71f
Author: Michal Fojtik <mfojtik at redhat.com>
Date: Fri Sep 24 17:27:07 2010 +0200
Fixed JSON dependency version
rubygem-gherkin.spec | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-gherkin.spec b/rubygem-gherkin.spec
index 2bbaebf..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
@@ -136,9 +140,12 @@ 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-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