]> err.no Git - varnish/commitdiff
* Thu Oct 16 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-2
authoringvar <ingvar@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 16 Oct 2008 13:36:47 +0000 (13:36 +0000)
committeringvar <ingvar@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 16 Oct 2008 13:36:47 +0000 (13:36 +0000)
- Readded the debugflag patch. It's so practical
- Added a strange workaround for make check on ppc64

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3313 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/redhat/varnish.spec

index 6bb8bc4b22a0b428613563aacb0400c3c6d0b6a2..8690e7b65f115c08a90202a422681aa54ed6fed6 100644 (file)
@@ -1,11 +1,12 @@
 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.