summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/gettext-setup')
-rw-r--r--dev-ruby/gettext-setup/gettext-setup-0.26-r1.ebuild (renamed from dev-ruby/gettext-setup/gettext-setup-0.26.ebuild)3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-ruby/gettext-setup/gettext-setup-0.26.ebuild b/dev-ruby/gettext-setup/gettext-setup-0.26-r1.ebuild
index 7ed201bd8629..ffdf5d0bc3c7 100644
--- a/dev-ruby/gettext-setup/gettext-setup-0.26.ebuild
+++ b/dev-ruby/gettext-setup/gettext-setup-0.26-r1.ebuild
@@ -30,7 +30,8 @@ ruby_add_rdepend "
"
all_ruby_prepare() {
- sed -i -e 's/1.1.0/1.1/' ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -i -e 's/1.1.0/1.1/' \
+ -e "s/spec.version.*$/spec.version = '${PV}'/" ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die