r3578 - branches/2.0/varnish-cache/redhat

tfheen at projects.linpro.no tfheen at projects.linpro.no
Thu Feb 5 09:33:14 CET 2009


Author: tfheen
Date: 2009-02-05 09:33:14 +0100 (Thu, 05 Feb 2009)
New Revision: 3578

Modified:
   branches/2.0/varnish-cache/redhat/varnish.spec
Log:
Merge r3313: spec file updates

Fix up the spec file so it actually includes the workaround for make check on ppc64.

Original commit message:

* Thu Oct 16 2008 Ingvar Hagelund <ingvar at linpro.no> - 2.0-2
- Readded the debugflag patch. It's so practical
- Added a strange workaround for make check on ppc64



Modified: branches/2.0/varnish-cache/redhat/varnish.spec
===================================================================
--- branches/2.0/varnish-cache/redhat/varnish.spec	2009-02-05 08:25:16 UTC (rev 3577)
+++ branches/2.0/varnish-cache/redhat/varnish.spec	2009-02-05 08:33:14 UTC (rev 3578)
@@ -122,6 +122,13 @@
 %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"
 



More information about the varnish-commit mailing list