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

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


commit 85da4fee8839355107881a7a15cd9a6189b0288c
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Thu Aug 2 15:15:51 2012 -0500

    cleaner ruby macro usage wrt vendor/site dirs

 ruby-korundum.spec |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/ruby-korundum.spec b/ruby-korundum.spec
index 7ec5ba5..8016978 100644
--- a/ruby-korundum.spec
+++ b/ruby-korundum.spec
@@ -10,7 +10,7 @@
 Name:    ruby-korundum 
 Summary: Ruby bindings for libraries created by the KDE community 
 Version: 4.9.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # most GPLv2+, rbkconfig_compiler LGPLv2+
 License: GPLv2+ and LGPLv2+
@@ -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}
@@ -121,6 +118,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
 
 %changelog
+* Thu Aug 02 2012 Rex Dieter <rdieter at fedoraproject.org> 4.9.0-2
+- cleaner ruby macro usage wrt vendor/site dirs
+
 * Thu Jul 26 2012 Lukas Tinkl <ltinkl at redhat.com> - 4.9.0-1
 - 4.9.0
 


More information about the scm-commits mailing list