From 34b1cb011f074f1e61e0d328a1300e2c6c80b7af Mon Sep 17 00:00:00 2001 From: Shawn Starr Date: Fri, 24 Aug 2012 22:27:01 -0400 Subject: [PATCH] Fix build issue disable one test due to DNS lookup not available on koji mock builders --- rubygem-addressable.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/rubygem-addressable.spec b/rubygem-addressable.spec index 4c64ff9..3b26e7d 100644 --- a/rubygem-addressable.spec +++ b/rubygem-addressable.spec @@ -4,7 +4,7 @@ Summary: Improved URI/URL Implementation Name: rubygem-%{gem_name} Version: 2.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Languages License: ASL 2.0 URL: http://addressable.rubyforge.org/ @@ -57,8 +57,11 @@ find .%{gem_instdir}/{Rakefile,lib,spec} -type f | \ find .%{gem_instdir}/{Rakefile,lib,spec} -type f | \ xargs chmod 0644 -# Fix conflict causing spec test failure -sed -i -e 's#^\([[:blank:]]*class\)[[:blank:]]HTTP*$#\1 AddressableHTTP#' -e 's#URI::HTTP#URI::AddressableHTTP#' .%{gem_instdir}/spec/addressable/uri_spec.rb +# Fix conflict causing spec test failure - Only needed if test below is not deleted +#sed -i -e 's#^\([[:blank:]]*class\)[[:blank:]]HTTP*$#\1 AddressableHTTP#' -e 's#URI::HTTP#URI::AddressableHTTP#' .%{gem_instdir}/spec/addressable/uri_spec.rb + +# Remove this test since fails on koji mock builders due to DNS lookup +rm .%{gem_instdir}/spec/addressable/net_http_compat_spec.rb %check pushd .%{gem_instdir} @@ -86,6 +89,10 @@ popd %{gem_docdir} %changelog + +* Thu Aug 23 2012 Shawn Starr - 2.3.2-2 +- Fix build issue disable one test due to DNS lookup not available on koji mock builders + * Thu Aug 23 2012 Shawn Starr - 2.3.2-1 - Bump to latest upstream - Fix spec test due to namespace/classname conflict