--- /dev/null
+diet does not work well with ccache (missing quoting somewhere)
+
+--- util-vserver-0.30.216-pre3034/Makefile.am~ 2012-10-28 14:16:40.000000000 +0200
++++ util-vserver-0.30.216-pre3034/Makefile.am 2012-10-28 14:37:18.207577514 +0200
+@@ -91,7 +91,7 @@
+ AM_INSTALLCHECK_STD_OPTIONS_EXEMPT =
+
+ if USE_DIETLIBC
+-DIET_CC := $(DIET) $(DIETFLAGS) $(CC)
++DIET_CC := $(DIET) $(DIETFLAGS) $(filter-out ccache,$(CC))
+ VSERVER_LDFLGS := -static
+ else
+ VSERVER_LDFLGS :=
%bcond_with xalan # use the xalan xslt processor
%define vproc_version 0.01
-# diet compile fails with ccache in %{__cc}
-%undefine with_ccache
%ifarch ppc
# pdflatex: refman: Invalid argument
Patch25: stat.patch
Patch26: %{name}-am.patch
Patch27: %{name}-rpm5.patch
+Patch28: diet-ccache.patch
URL: http://savannah.nongnu.org/projects/util-vserver/
BuildRequires: autoconf
BuildRequires: automake >= 1.9
%patch25 -p1
%patch26 -p1
%patch27 -p1
+%patch28 -p1
-install %{SOURCE9} package-management.txt
+cp -p %{SOURCE9} package-management.txt
%build
unset LD_SYMBOLIC_FUNCTIONS || :