[sawfish] improved specfile



commit 29398daf916330d38ed4a89099323ff9b3f38664
Author: Christopher Roy Bratusek <chris nanolx org>
Date:   Sun Jan 3 14:03:52 2010 +0100

    improved specfile

 sawfish.spec.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/sawfish.spec.in b/sawfish.spec.in
index 4159be0..d808a6c 100644
--- a/sawfish.spec.in
+++ b/sawfish.spec.in
@@ -13,10 +13,10 @@ BuildRequires: gmp-devel texinfo
 Provides: windowmanager
 
 %define rep_execdir %(pkg-config librep --variable=repcommonexecdir)
-%if %(kde4-config; echo $?)
-%define kde_apps %{_datadir}/kde4/apps/
+%if %{?_kde4_appsdir:1}%{!?_kde4_appsdir:0}
+%define kde_apps %{_kde4_appsdir}
 %else
-%define kde_apps %(kde4-config --install data)
+%define kde_apps %{_datadir}/kde4/apps
 %endif
 
 %description



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]