Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
cacti
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 22
[-]
[+]
Changed
cacti.spec
@@ -66,8 +66,13 @@ cp -pr images $RPM_BUILD_ROOT%{prefix} cp -pr install $RPM_BUILD_ROOT%{prefix} cp -pr resource $RPM_BUILD_ROOT%{prefix} -cp -pr scripts $RPM_BUILD_ROOT%{_datadir}/%{name} -install -m 644 *.sql $RPM_BUILD_ROOT%{_datadir}/%{name} +cp -pr rra $RPM_BUILD_ROOT%{prefix} +#cp -pr scripts $RPM_BUILD_ROOT%{_datadir}/%{name} +install -d -m 755 scripts %{buildroot}%{prefix}/scripts +install -m 755 scripts/* %{buildroot}%{prefix}/scripts +install -d -m 755 cli %{buildroot}%{prefix}/cli +install -m 755 cli/* %{buildroot}%{prefix}/cli +install -m 644 *.sql %{buildroot}%{prefix} # cron task install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.d install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/cacti @@ -95,6 +100,11 @@ %config(noreplace) %{apache2_sysconfdir}/conf.d/cacti.conf %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} +%post +%if 0%{?suse_version} +chown -R wwwrun.www %{prefix}/rra +%endif + %changelog * Tue Sep 27 2011 Carsten Schoene <cs@linux-administrator.com> - 0.8.7h-1 - updated to 0.8.7h