[master] fefe93d Install vmods in the varnish RPM package

Tollef Fog Heen tfheen at varnish-cache.org
Thu Jan 27 10:36:24 CET 2011


commit fefe93d0a681879d353930d26dac07f882c513ab
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Wed Jan 26 14:20:03 2011 +0100

    Install vmods in the varnish RPM package
    
    Make sure the standard vmod ends up in the RPM

diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index 3db3bd9..3afc448 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -246,7 +246,7 @@ start_test(void)
 
 	srandomdev();
 	bprintf(tmpdir, "/tmp/vtc.%d.%08x", getpid(), (unsigned)random());
-	AZ(mkdir(tmpdir, 0700));
+	AZ(mkdir(tmpdir, 0711));
 
 	tp = VTAILQ_FIRST(&tst_head);
 	CHECK_OBJ_NOTNULL(tp, TST_MAGIC);
diff --git a/redhat/varnish.spec b/redhat/varnish.spec
index 8f04637..031f0a9 100644
--- a/redhat/varnish.spec
+++ b/redhat/varnish.spec
@@ -195,6 +195,7 @@ rm -rf %{buildroot}
 %defattr(-,root,root,-)
 %{_sbindir}/*
 %{_bindir}/*
+%{_libdir}/varnish
 %{_var}/lib/varnish
 %{_var}/log/varnish
 %{_mandir}/man1/*.1*



More information about the varnish-commit mailing list