[ruby-korundum] borrow sed hack from ruby-qt
Rex Dieter
rdieter at fedoraproject.org
Fri Feb 17 15:26:21 UTC 2012
commit 2207104ee0a925acfa50b6272259712216d6e9ad
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Fri Feb 17 09:06:05 2012 -0600
borrow sed hack from ruby-qt
ruby-korundum.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ruby-korundum.spec b/ruby-korundum.spec
index 36f8e88..d9d16d7 100644
--- a/ruby-korundum.spec
+++ b/ruby-korundum.spec
@@ -57,12 +57,16 @@ Requires: smokekde%{?_isa} >= %{version}
%endif
+# just a cosmetic change for cmake defs
+sed -i -e 's|SITEARCH|VENDORARCH|' -e 's|SITELIB|VENDORLIB|' CMakeLists.txt
+
+
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} \
- -DRUBY_SITEARCH_DIR:PATH=%{ruby_vendorarchdir} \
- -DRUBY_SITELIB_DIR:PATH=%{ruby_vendorlibdir} \
+ -DRUBY_VENDORARCH_DIR:PATH=%{ruby_vendorarchdir} \
+ -DRUBY_VENDORLIB_DIR:PATH=%{ruby_vendorlibdir} \
..
popd
More information about the scm-commits
mailing list