[ruby] Macros should not be expanded during Ruby build.

Vít Ondruch vondruch at fedoraproject.org
Fri Feb 22 14:26:09 UTC 2013


commit 03c34a7e1f37ea8670bf9c6034ea3961de15e1a4
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Thu Feb 21 09:58:27 2013 +0100

    Macros should not be expanded during Ruby build.

 ruby.spec |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index 1468412..fca2c65 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -448,17 +448,17 @@ cat >> %{buildroot}%{_sysconfdir}/rpm/macros.rubygems << \EOF
 # -n<gem_file>      Overrides gem file name for installation.
 # -d<install_dir>   Set installation directory.
 %%gem_install(d:n:) \
-mkdir -p '%%{-d*}%%{!?-d:.%{gem_dir}}' \
+mkdir -p %%{-d*}%%{!?-d:.%%{gem_dir}} \
 \
 CONFIGURE_ARGS="--with-cflags='%%{optflags}' $CONFIGURE_ARGS" \\\
 gem install \\\
         -V \\\
         --local \\\
-        --install-dir '%%{-d*}%%{!?-d:.%{gem_dir}}' \\\
-        --bindir .%{_bindir} \\\
+        --install-dir %%{-d*}%%{!?-d:.%%{gem_dir}} \\\
+        --bindir .%%{_bindir} \\\
         --force \\\
         --document=ri,rdoc \\\
-        '%%{-n*}%%{!?-n:%{gem_name}-%{version}.gem}'
+        %%{-n*}%%{!?-n:%%{gem_name}-%%{version}.gem}
 EOF
 
 # Install custom operating_system.rb.


More information about the scm-commits mailing list