New upstream release. A bugfix and feature enhancement release.
This commit is contained in:
parent
c05a360ff9
commit
fec82ec2b8
@ -1 +1 @@
|
|||||||
varnish-2.0.2.tar.gz
|
varnish-2.0.3.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
131f502a9a507b9ce0a7a91b22528e0c varnish-2.0.2.tar.gz
|
4233ad2fc3d0c2fcf7bf399f6ccf50b2 varnish-2.0.3.tar.gz
|
||||||
|
18
varnish.spec
18
varnish.spec
@ -1,13 +1,12 @@
|
|||||||
Summary: Varnish is a high-performance HTTP accelerator
|
Summary: High-performance HTTP accelerator
|
||||||
Name: varnish
|
Name: varnish
|
||||||
Version: 2.0.2
|
Version: 2.0.3
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.varnish-cache.org/
|
URL: http://www.varnish-cache.org/
|
||||||
Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz
|
||||||
Patch0: varnish.varnishtest_debugflag.patch
|
Patch0: varnish.varnishtest_debugflag.patch
|
||||||
Patch1: varnish.timeout_backport.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
# The svn sources needs autoconf, automake and libtool to generate a suitable
|
# The svn sources needs autoconf, automake and libtool to generate a suitable
|
||||||
# configure script. Release tarballs would not need this
|
# configure script. Release tarballs would not need this
|
||||||
@ -65,8 +64,7 @@ Varnish is a high-performance HTTP accelerator
|
|||||||
%setup -q
|
%setup -q
|
||||||
#%setup -q -n varnish-cache
|
#%setup -q -n varnish-cache
|
||||||
|
|
||||||
%patch0
|
%patch0 -p0
|
||||||
%patch1
|
|
||||||
|
|
||||||
# The svn sources needs to generate a suitable configure script
|
# The svn sources needs to generate a suitable configure script
|
||||||
# Release tarballs would not need this
|
# 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
|
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"
|
%{__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
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||||
@ -170,6 +172,7 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man7/*.7*
|
%{_mandir}/man7/*.7*
|
||||||
%doc INSTALL LICENSE README redhat/README.redhat ChangeLog
|
%doc INSTALL LICENSE README redhat/README.redhat ChangeLog
|
||||||
%doc examples
|
%doc examples
|
||||||
|
%doc doc
|
||||||
%dir %{_sysconfdir}/varnish/
|
%dir %{_sysconfdir}/varnish/
|
||||||
%config(noreplace) %{_sysconfdir}/varnish/default.vcl
|
%config(noreplace) %{_sysconfdir}/varnish/default.vcl
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/varnish
|
%config(noreplace) %{_sysconfdir}/sysconfig/varnish
|
||||||
@ -232,6 +235,9 @@ fi
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Dec 12 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.2-2
|
||||||
Added a fix for a timeout bug, backported from trunk
|
Added a fix for a timeout bug, backported from trunk
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user