[sawfish] fixed repexecdir definition int the spec-file



commit a85cbce0fd55fd7f4872a89cc8b420acbf2d54c8
Author: chrisb <zanghar freenet de>
Date:   Sat Jul 25 18:25:13 2009 +0200

    fixed repexecdir definition int the spec-file

 ChangeLog       |    2 ++
 man/news.texi   |    2 ++
 sawfish.spec.in |    7 +------
 3 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e3de138..9f984bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@
 
 	* sawfish.ebuild.in: improved
 
+	* sawfish.spec.in: fixed repexecdir definition
+
 2009-07-24  Christopher Bratusek <zanghar freenet de>
 	* lisp/sawfish/wm/frames.jl: support theme-tarballs compressed with XZ and LZMA (needs librep 0.90.1)
 
diff --git a/man/news.texi b/man/news.texi
index ddbe7e8..5a397c8 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -28,6 +28,8 @@ they occurred between. For more detailed information see the
 @item Fix cursor warping in Infinite-Desktop [Jeremy Hankins]
 
 @item Fixed group of the stagger options [Christopher Bratusek]
+
+ item Fixed repexecdir definition in the spec-file [Christopher Bratusek]
 @end itemize
 @item New features:
 @itemize @minus
diff --git a/sawfish.spec.in b/sawfish.spec.in
index 805a5ae..0d7d698 100644
--- a/sawfish.spec.in
+++ b/sawfish.spec.in
@@ -32,11 +32,6 @@ using a GTK+ interface.  Sawfish is mostly GNOME compliant
 %configure
 make host_type=%{_target_platform}
 
-%define librepdir %(\
-   repl=$(rpm -ql librep.%{_arch}| grep -m 1 /rep/); \
-   [ "$repl" ] || repl=$(rpm -ql librep-devel.%{_arch} | grep -m 1 /rep/); \
-   echo ${repl%%/rep/*})
-
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -74,7 +69,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/pixmaps/sawfish*.png
 %{_libdir}/pkgconfig/sawfish.pc
 %{_libexecdir}/sawfish/%{version}/%{_host}
-%{librepdir}/rep/%{_host}/sawfish
+ REP_EXECDIR@/sawfish
 %{_infodir}/sawfish*
 
 %changelog



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