[packages/cacti] ftp and bcmath are optional
glen
glen at pld-linux.org
Mon Feb 3 15:55:54 CET 2014
commit d6d94c678833372b8c498d8f464c6335db409f42
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Feb 3 16:54:59 2014 +0200
ftp and bcmath are optional
cacti.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/cacti.spec b/cacti.spec
index f8dfb1d..df84dd9 100644
--- a/cacti.spec
+++ b/cacti.spec
@@ -5,7 +5,7 @@ Summary: Cacti is a PHP frontend for rrdtool
Summary(pl.UTF-8): Cacti - frontend w PHP do rrdtoola
Name: cacti
Version: 0.8.8b
-Release: 2
+Release: 3
License: GPL v2
Group: Applications/WWW
Source0: http://www.cacti.net/downloads/%{name}-%{version}.tar.gz
@@ -51,6 +51,8 @@ Requires: webserver(alias)
Requires: webserver(indexfile)
Requires: webserver(php)
Suggests: cacti-spine
+Suggests: php-bcmath
+Suggests: php-ftp
Suggests: php-gd
Provides: cacti(pia) = %{pia_ver}
Provides: user(cacti)
@@ -67,6 +69,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# bad depsolver
%define _noautopear pear
+# optional
+%define _noautophp php-ftp php-bcmath
# put it together for rpmbuild
%define _noautoreq %{?_noautophp} %{?_noautopear}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cacti.git/commitdiff/d6d94c678833372b8c498d8f464c6335db409f42
More information about the pld-cvs-commit
mailing list