New upstream release. A bugfix and feature enhancement release.

This commit is contained in:
Ingvar Hagelund 2009-02-12 16:17:51 +00:00
parent c05a360ff9
commit fec82ec2b8
3 changed files with 14 additions and 8 deletions

View File

@ -1 +1 @@
varnish-2.0.2.tar.gz
varnish-2.0.3.tar.gz

View File

@ -1 +1 @@
131f502a9a507b9ce0a7a91b22528e0c varnish-2.0.2.tar.gz
4233ad2fc3d0c2fcf7bf399f6ccf50b2 varnish-2.0.3.tar.gz

View File

@ -1,13 +1,12 @@
Summary: Varnish is a high-performance HTTP accelerator
Summary: High-performance HTTP accelerator
Name: varnish
Version: 2.0.2
Release: 2%{?dist}
Version: 2.0.3
Release: 1%{?dist}
License: BSD
Group: System Environment/Daemons
URL: http://www.varnish-cache.org/
Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz
Patch0: varnish.varnishtest_debugflag.patch
Patch1: varnish.timeout_backport.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# The svn sources needs autoconf, automake and libtool to generate a suitable
# configure script. Release tarballs would not need this
@ -65,8 +64,7 @@ Varnish is a high-performance HTTP accelerator
%setup -q
#%setup -q -n varnish-cache
%patch0
%patch1
%patch0 -p0
# The svn sources needs to generate a suitable configure script
# Release tarballs would not need this
@ -137,6 +135,10 @@ tail -n +11 etc/default.vcl >> redhat/default.vcl
LD_LIBRARY_PATH="lib/libvarnish/.libs:lib/libvarnishcompat/.libs:lib/libvarnishapi/.libs:lib/libvcl/.libs" bin/varnishd/varnishd -b 127.0.0.1:80 -C -n /tmp/foo
%{__make} check LD_LIBRARY_PATH="../../lib/libvarnish/.libs:../../lib/libvarnishcompat/.libs:../../lib/libvarnishapi/.libs:../../lib/libvcl/.libs"
# Remove uneccessary doc src files
mkdir doc.src
mv doc/*.xml doc/*.xsl doc/Makefile* doc.src
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
@ -170,6 +172,7 @@ rm -rf %{buildroot}
%{_mandir}/man7/*.7*
%doc INSTALL LICENSE README redhat/README.redhat ChangeLog
%doc examples
%doc doc
%dir %{_sysconfdir}/varnish/
%config(noreplace) %{_sysconfdir}/varnish/default.vcl
%config(noreplace) %{_sysconfdir}/sysconfig/varnish
@ -232,6 +235,9 @@ fi
%postun libs -p /sbin/ldconfig
%changelog
* Wed Feb 11 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.3-1
New upstream release 2.0.3. A bugfix and feature enhancement release
* Fri Dec 12 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.2-2
Added a fix for a timeout bug, backported from trunk