Commit 0739971e authored by Ingvar Hagelund's avatar Ingvar Hagelund

* Thu Oct 16 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-2

- Readded the debugflag patch. It's so practical
- Added a strange workaround for make check on ppc64



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3313 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 1ee84ac1
Summary: Varnish is a high-performance HTTP accelerator
Name: varnish
Version: 2.0
Release: 1%{?dist}
Release: 2%{?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
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
......@@ -63,6 +64,8 @@ Varnish is a high-performance HTTP accelerator
%setup -q
#%setup -q -n varnish-cache
%patch0 -p0
# The svn sources needs to generate a suitable configure script
# Release tarballs would not need this
#./autogen.sh
......@@ -122,6 +125,13 @@ tail -n +11 etc/default.vcl >> redhat/default.vcl
%endif
%check
# rhel5 on ppc64 is just too strange
%ifarch ppc64
%if 0%{?rhel} > 4
cp bin/varnishd/.libs/varnishd bin/varnishd/lt-varnishd
%endif
%endif
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"
......@@ -220,6 +230,10 @@ fi
%postun libs -p /sbin/ldconfig
%changelog
* Thu Oct 16 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-2
- Readded the debugflag patch. It's so practical
- Added a strange workaround for make check on ppc64
* Wed Oct 15 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-1
- 2.0 released. New upstream sources
- Disabled jemalloc on ppc and ppc64. Added a note in README.redhat.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment