From d5f52222c8d6f81c42f192f6dd8618c2b7c6b6d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 24 Aug 2012 01:18:06 +0300 Subject: [PATCH 1/1] - use php(core) as dependency to require php version - release 8 (by relup.sh) --- cacti-template-lighttpd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cacti-template-lighttpd.spec b/cacti-template-lighttpd.spec index 7b9eb8b..bd5124c 100644 --- a/cacti-template-lighttpd.spec +++ b/cacti-template-lighttpd.spec @@ -4,7 +4,7 @@ Summary: Template for Cacti - Lighttpd stats Name: cacti-template-%{plugin} Version: 1.0 -Release: 8 +Release: 9 License: GPL v2 Group: Applications/WWW # http://forums.cacti.net/download.php?id=8273 @@ -15,8 +15,8 @@ URL: http://forums.cacti.net/viewtopic.php?t=19676 BuildRequires: rpm-php-pearprov >= 4.4.2-11 BuildRequires: rpmbuild(macros) >= 1.554 Requires: cacti >= 0.8.7e-8 +Requires: php(core) >= %{php_min_version} Requires: php(pcre) -Requires: php-common >= 4:%{php_min_version} Obsoletes: cacti-plugin-lighttpd BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -- 2.44.0