packages: cacti-template-varnish/cacti-template-varnish.spec - fix script path

glen glen at pld-linux.org
Mon Apr 12 17:43:23 CEST 2010


Author: glen                         Date: Mon Apr 12 15:43:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix script path

---- Files affected:
packages/cacti-template-varnish:
   cacti-template-varnish.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/cacti-template-varnish/cacti-template-varnish.spec
diff -u packages/cacti-template-varnish/cacti-template-varnish.spec:1.1 packages/cacti-template-varnish/cacti-template-varnish.spec:1.2
--- packages/cacti-template-varnish/cacti-template-varnish.spec:1.1	Mon Apr 12 17:24:50 2010
+++ packages/cacti-template-varnish/cacti-template-varnish.spec	Mon Apr 12 17:43:17 2010
@@ -24,6 +24,10 @@
 %prep
 %setup -q -n varnish-cacti-stats-%{version}
 
+%{__sed} -i -e '
+s,/usr/bin/python <path_cacti>/scripts/get_varnish_stats.py,%{scriptsdir}/get_varnish_stats.py,
+' templates/*.xml
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{resourcedir},%{scriptsdir}}
@@ -33,7 +37,7 @@
 %post
 %{_sbindir}/cacti-add_template \
 	%{resourcedir}/cacti_data_template_varnish_statistics.xml \
-	%{resourcedir}/cacti_graph_template_varnish_-_cache_hitrate.xml
+	%{resourcedir}/cacti_graph_template_varnish_-_cache_hitrate.xml \
 	%{resourcedir}/cacti_graph_template_varnish_-_number_of_requests.xml
 
 %clean
@@ -50,5 +54,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/04/12 15:43:17  glen
+- fix script path
+
 Revision 1.1  2010/04/12 15:24:50  glen
 - new
================================================================

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



More information about the pld-cvs-commit mailing list