[3.0] 3942f5e Update version numbers

Tollef Fog Heen tfheen at varnish-cache.org
Wed Oct 26 14:58:58 CEST 2011


commit 3942f5e1d2539574ef66ca2fb7e6730c5e38a548
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Fri Oct 21 10:48:25 2011 +0200

    Update version numbers

diff --git a/configure.ac b/configure.ac
index 34279bb..46df5ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ(2.59)
 AC_COPYRIGHT([Copyright (c) 2006 Verdens Gang AS
 Copyright (c) 2006-2011 Varnish Software AS])
 AC_REVISION([$Id$])
-AC_INIT([Varnish], [3.0.2-rc1], [varnish-dev at varnish-cache.org])
+AC_INIT([Varnish], [3.0.2], [varnish-dev at varnish-cache.org])
 AC_CONFIG_SRCDIR(include/varnishapi.h)
 AM_CONFIG_HEADER(config.h)
 
diff --git a/redhat/varnish.spec b/redhat/varnish.spec
index bb019f8..94088d4 100644
--- a/redhat/varnish.spec
+++ b/redhat/varnish.spec
@@ -1,15 +1,13 @@
-%define v_rc rc1
-%define vd_rc %{?v_rc:-%{?v_rc}}
-
+#% define v_rc ""
 Summary: High-performance HTTP accelerator
 Name: varnish
 Version: 3.0.2
-Release: 0.%{?v_rc}%{?dist}
+Release: 1%{?dist}
 License: BSD
 Group: System Environment/Daemons
 URL: http://www.varnish-cache.org/
 #Source0: http://repo.varnish-cache.org/source/%{name}-%{version}.tar.gz
-Source0: %{name}-%{version}%{?vd_rc}.tar.gz
+Source0: %{name}-%{version}%{?v_rc:-%{v_rc}}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # To build from git, start with a make dist, see redhat/README.redhat 
 # You will need at least automake autoconf libtool python-docutils
@@ -75,7 +73,7 @@ Documentation files for %name
 
 %prep
 #%setup -q
-%setup -q -n varnish-%{version}%{?vd_rc}
+%setup -q -n varnish-%{version}%{?v_rc:-%{?v_rc}}
 
 mkdir examples
 cp bin/varnishd/default.vcl etc/zope-plone.vcl examples



More information about the varnish-commit mailing list