[ruby-korundum/f16: 3/3] - cleaner ruby macro usage wrt vendor/site dirs

Rex Dieter rdieter at fedoraproject.org
Thu Aug 2 20:14:23 UTC 2012


commit 11782765620cc21266274e693cd84f9fd197a868
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Thu Aug 2 15:17:47 2012 -0500

    - cleaner ruby macro usage wrt vendor/site dirs

 ruby-korundum.spec |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/ruby-korundum.spec b/ruby-korundum.spec
index 498d816..6d83a1e 100644
--- a/ruby-korundum.spec
+++ b/ruby-korundum.spec
@@ -65,15 +65,12 @@ Requires: smokekde-akonadi%{?_isa} >= %{version}
 
 
 %build
-# just a cosmetic change for cmake defs
-sed -i -e 's|SITEARCH|VENDORARCH|' -e 's|SITELIB|VENDORLIB|' CMakeLists.txt
-
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
 %{cmake_kde4} \
-  -DRUBY_VENDORARCH_DIR:PATH=%{ruby_vendorarchdir} \
-  -DRUBY_VENDORLIB_DIR:PATH=%{ruby_vendorlibdir} \
-   ..
+  -DCUSTOM_RUBY_SITE_ARCH_DIR:PATH=%{ruby_vendorarchdir} \
+  -DCUSTOM_RUBY_SITE_LIB_DIR:PATH=%{ruby_vendorlibdir} \
+  ..
 popd
 
 make %{?_smp_mflags} -C %{_target_platform}


More information about the scm-commits mailing list