[rubygem-mizuho/el6] fixes for el6
tdawson
tdawson at fedoraproject.org
Wed May 14 19:33:30 UTC 2014
commit 23f2c0e573af3cedc72e2d69e5e9d9a7b04a3d5e
Author: Troy Dawson <tdawson at redhat.com>
Date: Wed May 14 14:33:10 2014 -0500
fixes for el6
...izuho-0.9.20-fix_native_templates_dir_el6.patch | 2 +-
rubygem-mizuho.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-mizuho-0.9.20-fix_native_templates_dir.patch b/rubygem-mizuho-0.9.20-fix_native_templates_dir_el6.patch
similarity index 84%
rename from rubygem-mizuho-0.9.20-fix_native_templates_dir.patch
rename to rubygem-mizuho-0.9.20-fix_native_templates_dir_el6.patch
index 0b94b99..f998513 100644
--- a/rubygem-mizuho-0.9.20-fix_native_templates_dir.patch
+++ b/rubygem-mizuho-0.9.20-fix_native_templates_dir_el6.patch
@@ -6,7 +6,7 @@ diff -urp mizuho-0.9.20.orig/lib/mizuho.rb mizuho-0.9.20/lib/mizuho.rb
if NATIVELY_PACKAGED
- TEMPLATES_DIR = "/usr/share/mizuho/templates"
-+ TEMPLATES_DIR = "/usr/share/gems/gems/mizuho-%s/templates" % (VERSION_STRING)
++ TEMPLATES_DIR = "/usr/lib/ruby/gems/1.8/gems/mizuho-%s/templates" % (VERSION_STRING)
if File.exist?("/usr/share/mizuho/asciidoc")
ASCIIDOC = ["/usr/bin/python", "/usr/share/mizuho/asciidoc/asciidoc.py"]
else
diff --git a/rubygem-mizuho.spec b/rubygem-mizuho.spec
index 7fa354e..a7a86cd 100644
--- a/rubygem-mizuho.spec
+++ b/rubygem-mizuho.spec
@@ -12,7 +12,7 @@ Group: Development/Languages
License: MIT
URL: https://github.com/FooBarWidget/mizuho
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
-Patch1: rubygem-mizuho-0.9.20-fix_native_templates_dir.patch
+Patch1: rubygem-mizuho-0.9.20-fix_native_templates_dir_el6.patch
Requires: asciidoc
Requires: ruby(abi) >= %{rubyabi}
Requires: ruby(rubygems)
More information about the scm-commits
mailing list