SPECS: kdissert.spec - Repairing broken waf build system. At prese...

piti piti at pld-linux.org
Sun Sep 24 20:18:41 CEST 2006


Author: piti                         Date: Sun Sep 24 18:18:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Repairing broken waf build system. At present no files are stored in 
  home dirrectory.

---- Files affected:
SPECS:
   kdissert.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/kdissert.spec
diff -u SPECS/kdissert.spec:1.9 SPECS/kdissert.spec:1.10
--- SPECS/kdissert.spec:1.9	Sun Sep 24 16:35:00 2006
+++ SPECS/kdissert.spec	Sun Sep 24 20:18:35 2006
@@ -8,7 +8,8 @@
 Group:		Applications
 Source0:	http://freehackers.org/~tnagy/kdissert/%{name}-%{version}.tar.bz2
 # Source0-md5:	cd7116fb61ee4cf7b87c8916ef5f7a5f
-Source1:	%{name}-kde.py
+Source1:	http://freehackers.org/~tnagy/waf
+# Source1-md5:	2c80272d967e6d9dded444d5ef2ac8e8
 URL:		http://freehackers.org/~tnagy/kdissert/
 BuildRequires:	kdelibs-devel >= 9:3.2.0
 BuildRequires:	rpmbuild(macros) >= 1.129
@@ -38,6 +39,17 @@
 %build
 export CXXFLAGS="%{rpmcflags}"
 export QTDIR="%{_usr}"
+
+# workaround for broken waf file. Waf building system was creating some hidden files in
+# user direcotry (.waf-version, .wafcache). Below the new version of waf is installed. 
+# This one creates these files in rpm/BUILD/kdissert-version directory. In case of upgrade
+# check if it is still necessary.
+rm waf
+install -m 755 %{SOURCE1} ./
+
+# To install waf directories (.waf-version, .wafcache) in building directory.
+export WAF_HOME=`pwd`
+
 # autodetects all needed paths from kde-config not sure it supports amd64 at the moment
 # im talking about it with the maintainer of kde's scons-based buildsystem
 
@@ -100,6 +112,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2006/09/24 18:18:35  piti
+- Repairing broken waf build system. At present no files are stored in
+  home dirrectory.
+
 Revision 1.9  2006/09/24 14:35:00  shadzik
 - adapterized
 - cosmetics
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kdissert.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list