SPECS: varnish.spec - initscripts not present, cosmetics

glen glen at pld-linux.org
Mon Nov 27 00:38:25 CET 2006


Author: glen                         Date: Sun Nov 26 23:38:25 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initscripts not present, cosmetics

---- Files affected:
SPECS:
   varnish.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/varnish.spec
diff -u SPECS/varnish.spec:1.2 SPECS/varnish.spec:1.3
--- SPECS/varnish.spec:1.2	Mon Nov 27 00:35:59 2006
+++ SPECS/varnish.spec	Mon Nov 27 00:38:20 2006
@@ -50,29 +50,12 @@
 %configure
 %{__make}
 
-sed -e ' s/8080/80/g ' etc/vcl.conf > redhat/vcl.conf
-
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_sbindir}
-install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/varnish
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/init.d
-install -d $RPM_BUILD_ROOT/etc/sysconfig
-install -d $RPM_BUILD_ROOT/var/lib/varnish
-
-install INSTALL $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/INSTALL
-install LICENSE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/LICENSE
-install README $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/README
-install ChangeLog $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ChangeLog
-install redhat/README.redhat $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/README.redhat
-install redhat/vcl.conf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/vcl.example.conf
-install redhat/vcl.conf $RPM_BUILD_ROOT%{_sysconfdir}/varnish/vcl.conf
-install redhat/varnish.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/varnish
-install redhat/varnish.initrc $RPM_BUILD_ROOT%{_sysconfdir}/init.d/varnish
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{init.d,sysconfig},/var/lib/varnish}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -92,10 +75,10 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{_docdir}/%{name}-%{version}
-%config(noreplace) %{_sysconfdir}/vcl.conf
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/varnish
-%attr(754,root,root) /etc/rc.d/init.d/varnish
+%doc INSTALL LICENSE README ChangeLog
+#%config(noreplace) %{_sysconfdir}/vcl.conf
+#%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/varnish
+#%attr(754,root,root) /etc/rc.d/init.d/varnish
 %attr(755,root,root) %{_sbindir}/varnishd
 %attr(755,root,root) %{_bindir}/varnishhist
 %attr(755,root,root) %{_bindir}/varnishlog
@@ -105,7 +88,7 @@
 %attr(755,root,root) %{_libdir}/libvarnish.so.0.0.0
 %attr(755,root,root) %{_libdir}/libvarnishapi.so.0.0.0
 %attr(755,root,root) %{_libdir}/libvcl.so.0.0.0
-%{_var}/lib/varnish
+/var/lib/varnish
 %{_mandir}/man1/varnishd.1*
 %{_mandir}/man1/varnishhist.1*
 %{_mandir}/man1/varnishlog.1*
@@ -135,6 +118,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/11/26 23:38:20  glen
+- initscripts not present, cosmetics
+
 Revision 1.2  2006/11/26 23:35:59  glen
 - complete descriptions
 - ncurses build fix
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/varnish.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list