[packages/kde4-kde3support] disable ccache, files cleanup

glen glen at pld-linux.org
Thu Nov 8 14:14:26 CET 2012


commit 14f611553a4a368583ef7f851bf645411537d250
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Nov 8 15:14:23 2012 +0200

    disable ccache, files cleanup

 kde4-kde3support.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/kde4-kde3support.spec b/kde4-kde3support.spec
index ed1455f..0bdab33 100644
--- a/kde4-kde3support.spec
+++ b/kde4-kde3support.spec
@@ -116,6 +116,9 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # confuses OpenEXR detection
 %undefine	configure_cache
 
+# kde3 does not work well with ccache (CC with spaces)
+%unglobal	with_ccache
+
 %define		no_install_post_check_so	1
 # unresolved symbols in libkscreensaver.so.X (by design)
 
@@ -332,6 +335,7 @@ if [ ! -f installed.stamp ]; then
 	# remove unwanted boost deps from .la
 	sed -i 's:-lboost_filesystem -lboost_system -lboost_regex::' $RPM_BUILD_ROOT%{_libdir}/kde3/plugins/designer/kdewidgets.la
 	%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+	%{__rm} $RPM_BUILD_ROOT%{_libdir}/kde3/plugins/designer/kdewidgets.la
 
 	touch installed.stamp
 fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kde3support.git/commitdiff/14f611553a4a368583ef7f851bf645411537d250



More information about the pld-cvs-commit mailing list