1 |
# $Id: smeserver-cacti.spec,v 1.4 2022/07/26 04:37:07 jpp Exp $ |
# $Id: smeserver-cacti.spec,v 1.5 2022/07/27 19:00:38 jpp Exp $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Michel Van hees |
# Name: Michel Van hees |
4 |
|
|
22 |
Requires: cacti-spine |
Requires: cacti-spine |
23 |
Requires: e-smith-apache >= 2.6.0-19 |
Requires: e-smith-apache >= 2.6.0-19 |
24 |
Requires: smeserver-php >= 3.0.0-43 |
Requires: smeserver-php >= 3.0.0-43 |
25 |
|
Requires: php74-php-gmp |
26 |
|
Requires: php-gmp |
27 |
|
|
28 |
AutoReqProv: no |
AutoReqProv: no |
29 |
|
|
30 |
%changelog |
%changelog |
97 |
mkdir -p root/var/lib/php/cacti/{opcache,session,tmp} |
mkdir -p root/var/lib/php/cacti/{opcache,session,tmp} |
98 |
%patch0 -p1 |
%patch0 -p1 |
99 |
rm root/etc/e-smith/db/configuration/migrate/80cacti_sme.sql |
rm root/etc/e-smith/db/configuration/migrate/80cacti_sme.sql |
100 |
|
rm root/etc/e-smith/templates/etc/cacti/db.php/40DB |
101 |
|
|
102 |
%build |
%build |
103 |
perl createlinks |
perl createlinks |