|
|
@@ -32,7 +32,7 @@ Class: PLUS
|
|
|
Group: Monitoring
|
|
|
License: GPL
|
|
|
Version: 0.8.7a
|
|
|
-Release: 20080113
|
|
|
+Release: 20080116
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cacti.net/downloads/cacti-%{version}.tar.gz
|
|
|
@@ -53,6 +53,11 @@ PreReq: apache-php::with_mysql = yes
|
|
|
PreReq: apache-php::with_mm = yes
|
|
|
PreReq: apache-php::with_pcre = yes
|
|
|
PreReq: apache-php::with_xml = yes
|
|
|
+PreReq: php
|
|
|
+PreReq: php::with_mysql = yes
|
|
|
+PreReq: php::with_mm = yes
|
|
|
+PreReq: php::with_pcre = yes
|
|
|
+PreReq: php::with_xml = yes
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -173,7 +178,7 @@ AutoReqProv: no
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
|
%{l_files_std} \
|
|
|
'%config %{l_prefix}/etc/cacti/*' \
|
|
|
- '%config %{l_prefix}/etc/dcron/crontabs/cacti' \
|
|
|
+ '%config %attr(-,%{l_susr},%{l_sgrp}) %{l_prefix}/etc/dcron/crontabs/cacti' \
|
|
|
'%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/cacti'
|
|
|
|
|
|
%files -f files
|