commit 9f8fa37f25cc997bca77d0a2349538f478745323
Author: Rex Dieter <rdieter(a)math.unl.edu>
Date: Thu Feb 28 17:24:19 2013 -0600
cleaner no_webkit handling (for rhel)
kde-runtime.spec | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/kde-runtime.spec b/kde-runtime.spec
index e1eefe5..0a02635 100644
--- a/kde-runtime.spec
+++ b/kde-runtime.spec
@@ -189,6 +189,7 @@ Requires: %{name} = %{version}-%{release}
%if 0%{?rhel}
%patch300 -p1 -b .webkit
+%global no_webkit -DKDERUNTIME_NO_WEBKIT:BOOL=ON -DPLASMA_NO_KDEWEBKIT:BOOL=ON
%endif
@@ -196,9 +197,7 @@ Requires: %{name} = %{version}-%{release}
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} \
-%if 0%{?rhel}
- -DKDERUNTIME_NO_WEBKIT:BOOL=ON \
- -DPLASMA_NO_KDEWEBKIT:BOOL=ON \
+ %{?no_webkit}
%endif
..
popd