[master] c3073d0 Update redhat spec file to include release candidate logic.
Tollef Fog Heen
tfheen at varnish-cache.org
Thu Oct 6 12:37:12 CEST 2011
commit c3073d0ab4e4ad53d484a423addedcab93094709
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Thu Oct 6 10:56:14 2011 +0200
Update redhat spec file to include release candidate logic.
diff --git a/redhat/varnish.spec b/redhat/varnish.spec
index 0d66765..e8ea8c7 100644
--- a/redhat/varnish.spec
+++ b/redhat/varnish.spec
@@ -1,11 +1,15 @@
+%define v_rc
+%define vd_rc %{?v_rc:-%{?v_rc}}
+
Summary: High-performance HTTP accelerator
Name: varnish
-Version: 3.0.0
-Release: 0.20110715%{?dist}
+Version: 3.1.0
+Release: 0.20111006%{?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}%{?vd_rc}.tar.gz
Source0: %{name}-trunk.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# To build from git, start with a make dist, see redhat/README.redhat
@@ -71,7 +75,7 @@ Documentation files for %name
#Varnish Cache is a high-performance HTTP accelerator
%prep
-#%setup -q
+#%setup -q -n varnish-%{version}%{?vd_rc}
%setup -q -n varnish-trunk
mkdir examples
More information about the varnish-commit
mailing list