[3.0] a12288b Update redhat spec file to include release candidate logic.
Tollef Fog Heen
tfheen at varnish-cache.org
Thu Oct 6 11:25:30 CEST 2011
commit a12288b2638c3ccd678e2dfc378c2695dd41b21d
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Thu Oct 6 10:56:59 2011 +0200
Update redhat spec file to include release candidate logic.
diff --git a/redhat/varnish.spec b/redhat/varnish.spec
index 115ff54..20c613e 100644
--- a/redhat/varnish.spec
+++ b/redhat/varnish.spec
@@ -1,12 +1,15 @@
+%define v_rc rc1
+%define vd_rc %{?v_rc:-%{?v_rc}}
+
Summary: High-performance HTTP accelerator
Name: varnish
-Version: 3.0.1
-Release: 1%{?dist}
+Version: 3.0.2
+Release: 0.%{?v_rc}%{?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}.tar.gz
+Source0: %{name}-%{version}%{?vd_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
@@ -72,7 +75,7 @@ Documentation files for %name
%prep
#%setup -q
-%setup -q -n varnish-%{version}
+%setup -q -n varnish-%{version}%{?vd_rc}
mkdir examples
cp bin/varnishd/default.vcl etc/zope-plone.vcl examples
More information about the varnish-commit
mailing list