r2310 - trunk/varnish-cache/redhat

ingvar at projects.linpro.no ingvar at projects.linpro.no
Wed Dec 19 21:29:37 CET 2007


Author: ingvar
Date: 2007-12-19 21:29:36 +0100 (Wed, 19 Dec 2007)
New Revision: 2310

Modified:
   trunk/varnish-cache/redhat/README.redhat
Log:
Small changes to README.redhat

Modified: trunk/varnish-cache/redhat/README.redhat
===================================================================
--- trunk/varnish-cache/redhat/README.redhat	2007-12-18 18:38:37 UTC (rev 2309)
+++ trunk/varnish-cache/redhat/README.redhat	2007-12-19 20:29:36 UTC (rev 2310)
@@ -24,12 +24,14 @@
 
 
 Builing a RPM package from SVN
-===============================
+==============================
 You may build the package from a svn checkout. Follow the instructions
 at http://varnish.projects.linpro.no/wiki/Repository to get the
 source. Then enter the trunk directory and edit
 varnish-cache/redhat/varnish.spec. At least bump the version and/or
-release numbers. Then use something like this to build the rpm package:
+release numbers, and uncomment the autogen call. You need to install
+the autoconf and automake packages. Then use something like this to
+build the rpm package:
 
 #!/bin/bash
 VERSION=$( awk ' /^Version:/ { print $2 } ' varnish-cache/redhat/varnish.spec )
@@ -41,6 +43,10 @@
             done
 ) -cvzf varnish-$VERSION.tar.gz varnish-$VERSION/*
 rm varnish-$VERSION
-rpmbuild -tb varnish-$VERSION.tar.gz
+rpmbuild -ts varnish-$VERSION.tar.gz
+# End of script
 
+This builds a source rpm. Then you can, for example on a RHEL4 system,
+do something like this:
 
+rpmbuild --define "dist el4" --rebuild /path/to/varnish-1.1.2.src.rpm




More information about the varnish-commit mailing list