[rubygem-json_pure/el5] Applied patch from Troy Dawson

Michal Fojtik mfojtik at fedoraproject.org
Wed Jan 4 11:30:41 UTC 2012


commit a93b5891975e0ff1df0ec16c4d37ee3379469ef7
Author: Michal Fojtik <mi at mifo.sk>
Date:   Wed Jan 4 12:30:12 2012 +0100

    Applied patch from Troy Dawson

 rubygem-json_pure.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-json_pure.spec b/rubygem-json_pure.spec
index e6cff7f..bbab1c5 100644
--- a/rubygem-json_pure.spec
+++ b/rubygem-json_pure.spec
@@ -6,13 +6,14 @@
 Summary: JSON Implementation for Ruby
 Name: rubygem-%{gemname}
 Version: 1.6.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Development/Languages
 License: GPLv2 or Ruby
 URL: http://flori.github.com/json
 Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
 Requires: rubygems
 Requires: ruby(abi) = %{rubyabi} 
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: ruby(abi) = %{rubyabi} 
 BuildRequires: ruby(rubygems) 
 BuildRequires: rubygem(rake)
@@ -57,6 +58,10 @@ rm -f %{buildroot}/%{geminstdir}/.travis.yml
 rm -f %{buildroot}/%{geminstdir}/.gitignore
 # Fix for Fedora 14:
 rm -rf %{buildroot}/%{geminstdir}/tests/test_json_rails.rb
+# Fix for RHEL5:
+%if "%{dist}" == ".el5"
+	rm -rf %{buildroot}/%{geminstdir}/tests/test_json_addition.rb
+%endif
 
 
 %check
@@ -94,6 +99,10 @@ rm -rf %{buildroot}
 %{geminstdir}/install.rb
 
 %changelog
+* Tue Jan 03 2012 Troy Dawson <tdawson at redhat.com> - 1.6.3-3
+- Added Buildroot - needed for EPEL5 builds
+- removed one test that was failling for EPEL5 builds
+
 * Thu Dec 12 2011 Michal Fojtik <mfojtik at redhat.com> - 1.6.3-2
 - Rebuild after Koji outage
 


More information about the scm-commits mailing list