SPECS (DEVEL): openoffice.org.spec - added support for CCACHE_DIR ...

blekot blekot at pld-linux.org
Sun Jan 27 15:20:45 CET 2008


Author: blekot                       Date: Sun Jan 27 14:20:45 2008 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- added support for CCACHE_DIR to pass into build when ccache bcond is used

---- Files affected:
SPECS:
   openoffice.org.spec (1.775.2.26 -> 1.775.2.27) 

---- Diffs:

================================================================
Index: SPECS/openoffice.org.spec
diff -u SPECS/openoffice.org.spec:1.775.2.26 SPECS/openoffice.org.spec:1.775.2.27
--- SPECS/openoffice.org.spec:1.775.2.26	Sun Jan 27 14:59:03 2008
+++ SPECS/openoffice.org.spec	Sun Jan 27 15:20:39 2008
@@ -2166,6 +2166,12 @@
 export ANT_HOME="%{_datadir}/ant"
 %endif
 
+%if %{with ccache}
+if [ "$CCACHE_DIR" = "" ] ; then
+	export CCACHE_DIR=$HOME/.ccache/
+fi
+%endif
+
 export DEFAULT_TO_ENGLISH_FOR_PACKING=1
 
 RPM_BUILD_NR_THREADS="%(echo "%{__make}" | sed -e 's#.*-j\([[:space:]]*[0-9]\+\)#\1#g')"
@@ -4106,6 +4112,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.775.2.27  2008-01-27 14:20:39  blekot
+- added support for CCACHE_DIR to pass into build when ccache bcond is used
+
 Revision 1.775.2.26  2008-01-27 13:59:03  blekot
 - build up to 2.3.1.2
 - added bcond: icecream (need testing)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openoffice.org.spec?r1=1.775.2.26&r2=1.775.2.27&f=u



More information about the pld-cvs-commit mailing list