[3.0] ddb3bc3 No need to keep the sphinx doc =build dir. If a user wants them, she can recreate them.
Tollef Fog Heen
tfheen at varnish-cache.org
Thu May 24 14:51:11 CEST 2012
commit ddb3bc3dfb138e956bee83b76c56d99947751004
Author: Ingvar Hagelund <ingvar at redpill-linpro.com>
Date: Mon Apr 23 11:17:57 2012 +0200
No need to keep the sphinx doc =build dir. If a user wants them, she can recreate them.
diff --git a/redhat/varnish.spec b/redhat/varnish.spec
index 484faf9..f25812a 100644
--- a/redhat/varnish.spec
+++ b/redhat/varnish.spec
@@ -119,7 +119,9 @@ tail -n +11 etc/default.vcl >> redhat/default.vcl
redhat/varnish.initrc redhat/varnishlog.initrc redhat/varnishncsa.initrc
%endif
-cp -r doc/sphinx/\=build/html doc
+rm -rf doc/sphinx/\=build/html/_sources
+mv doc/sphinx/\=build/html doc
+rm -rf doc/sphinx/\=build
%check
# rhel5 on ppc64 is just too strange
More information about the varnish-commit
mailing list