summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-01-08 16:00:58 +0000
committerHans de Graaff <graaff@gentoo.org>2012-01-08 16:00:58 +0000
commit30115decd07d36024945c99402300795fc6dd0b6 (patch)
treedf6b950d021435e38c898305a1bfa4d94a8763a8 /dev-ruby/sfl
parentalpha/arm/ia64/m68k/s390/sh/sparc stable wrt #396137 (diff)
downloadgentoo-2-30115decd07d36024945c99402300795fc6dd0b6.tar.gz
gentoo-2-30115decd07d36024945c99402300795fc6dd0b6.tar.bz2
gentoo-2-30115decd07d36024945c99402300795fc6dd0b6.zip
Fix hardcoded path to temporary directory in specs.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/sfl')
-rw-r--r--dev-ruby/sfl/ChangeLog5
-rw-r--r--dev-ruby/sfl/sfl-2.1.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-ruby/sfl/ChangeLog b/dev-ruby/sfl/ChangeLog
index 1684efa71ded..e0c5605eb3aa 100644
--- a/dev-ruby/sfl/ChangeLog
+++ b/dev-ruby/sfl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/sfl
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sfl/ChangeLog,v 1.1 2012/01/08 15:43:45 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sfl/ChangeLog,v 1.2 2012/01/08 16:00:58 graaff Exp $
+
+ 08 Jan 2012; Hans de Graaff <graaff@gentoo.org> sfl-2.1.ebuild:
+ Fix hardcoded path to temporary directory in specs.
*sfl-2.1 (08 Jan 2012)
diff --git a/dev-ruby/sfl/sfl-2.1.ebuild b/dev-ruby/sfl/sfl-2.1.ebuild
index a55b92ee4d16..0ddcc2385aa4 100644
--- a/dev-ruby/sfl/sfl-2.1.ebuild
+++ b/dev-ruby/sfl/sfl-2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sfl/sfl-2.1.ebuild,v 1.1 2012/01/08 15:43:45 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sfl/sfl-2.1.ebuild,v 1.2 2012/01/08 16:00:58 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ruby19 ree18"
@@ -22,3 +22,7 @@ KEYWORDS="~amd64"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
+
+all_ruby_prepare() {
+ sed -i -e "s:/tmp:${TMPDIR}:" spec/sfl_spec.rb || die
+}