packages: varnish/varnish.spec - update to 2.0.5, package log dirs

glen glen at pld-linux.org
Wed Nov 18 16:06:35 CET 2009


Author: glen                         Date: Wed Nov 18 15:06:35 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update to 2.0.5, package log dirs

---- Files affected:
packages/varnish:
   varnish.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: packages/varnish/varnish.spec
diff -u packages/varnish/varnish.spec:1.40 packages/varnish/varnish.spec:1.41
--- packages/varnish/varnish.spec:1.40	Fri Oct 16 14:59:53 2009
+++ packages/varnish/varnish.spec	Wed Nov 18 16:06:30 2009
@@ -4,12 +4,12 @@
 Summary:	Varnish - a high-performance HTTP accelerator
 Summary(pl.UTF-8):	Varnish - wydajny akcelerator HTTP
 Name:		varnish
-Version:	2.0.4
-Release:	2.1
+Version:	2.0.5
+Release:	1
 License:	BSD
 Group:		Networking/Daemons/HTTP
 Source0:	http://dl.sourceforge.net/varnish/%{name}-%{version}.tar.gz
-# Source0-md5:	8044d59cb6d2ec6d09b7ae6033f06bbf
+# Source0-md5:	fde37b8c571cb69cf9e9f0da62a8310b
 Source1:	%{name}.init
 Source2:	%{name}log.init
 Source3:	%{name}ncsa.init
@@ -17,7 +17,7 @@
 Source5:	%{name}ncsa.sysconfig
 Source6:	%{name}.logrotate
 Source7:	%{name}.conf
-Patch100:	branch.diff
+#Patch100:	branch.diff
 Patch0:		%{name}-build.patch
 URL:		http://www.varnish-cache.org/
 BuildRequires:	autoconf
@@ -88,7 +88,7 @@
 
 %prep
 %setup -q
-%patch100 -p0
+#%patch100 -p0
 %patch0 -p1
 
 %build
@@ -113,7 +113,7 @@
 
 # make dirs after make install to know which ones needs spec and which ones make install
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{logrotate.d,rc.d/init.d,sysconfig},/var/{run,lib}/varnish} \
-	$RPM_BUILD_ROOT/var/log/{archive/,varnish}
+	$RPM_BUILD_ROOT/var/log/{archive/,}varnish
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/varnish
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/varnishlog
@@ -176,11 +176,14 @@
 /var/lib/varnish
 /var/run/varnish
 
+%dir %attr(751,root,root) /var/log/varnish
+%dir %attr(750,root,root) /var/log/archive/varnish
+
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libvarnish*.so.*.*.*
-%attr(755,root,root) %{_libdir}/libvcl.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libvarnish*.so.1
+%attr(755,root,root) %{_libdir}/libvcl.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libvcl.so.1
 
 %files devel
@@ -200,6 +203,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2009/11/18 15:06:30  glen
+- update to 2.0.5, package log dirs
+
 Revision 1.40  2009/10/16 12:59:53  glen
 - apply branch.diff
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/varnish/varnish.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list