]> git.pld-linux.org Git - packages/cacti.git/commitdiff
- rel 3; stbr auto/ti/cacti-0_8_7d-3
authorMariusz Mazur <mmazur@pld-linux.org>
Fri, 15 May 2009 09:36:11 +0000 (09:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- some sql magic, to make sure the thing works out of the box

Changed files:
    cacti.spec -> 1.110

cacti.spec

index 35372604f027550daace82690f28c2017d0b2016..68e055e49fe73d6828e2f7896a57b75c29b57655 100644 (file)
@@ -3,7 +3,7 @@ Summary:        Cacti is a PHP frontend for rrdtool
 Summary(pl.UTF-8):     Cacti - frontend w PHP do rrdtoola
 Name:          cacti
 Version:       0.8.7d
-Release:       2
+Release:       3
 License:       GPL
 Group:         Applications/WWW
 Source0:       http://www.cacti.net/downloads/%{name}-%{version}.tar.gz
@@ -146,6 +146,9 @@ chmod a+rx cli/*
 
 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
 
+# make sure cacti runs out of the box
+sed -e "s,new_install,%{version}," -i sql/cacti.sql
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_appdir}/{docs,plugins},/etc/cron.d,%{_sbindir}}
This page took 0.262605 seconds and 4 git commands to generate.