From: Elan Ruusamäe Date: Tue, 7 Aug 2012 14:21:20 +0000 (+0300) Subject: - use virtual php extension deps (to be independant of php version) X-Git-Tag: auto/th/cacti-template-apcupsd-1.1-6 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcacti-template-apcupsd.git;a=commitdiff_plain;h=2bf011454eb398d9e71ac9469b8212f92a66d145 - use virtual php extension deps (to be independant of php version) - release 6 (by relup.sh) --- diff --git a/cacti-template-apcupsd.spec b/cacti-template-apcupsd.spec index 8d68c80..ce8d7b9 100644 --- a/cacti-template-apcupsd.spec +++ b/cacti-template-apcupsd.spec @@ -4,7 +4,7 @@ Summary: Pulls APC data via APC UPS Daemon (apcupsd) for non-SNMP hardware Name: cacti-template-%{template} Version: 1.1 -Release: 2 +Release: 6 License: GPL v2 Group: Applications/WWW Source0: http://docs.cacti.net/_media/usertemplate:data:apc:apcupsd:apcupsd_%{version}.zip @@ -15,8 +15,8 @@ BuildRequires: rpm-php-pearprov >= 4.4.2-11 BuildRequires: rpmbuild(macros) >= 1.554 BuildRequires: unzip Requires: cacti >= 0.8.7e-8 +Requires: php(pcre) Requires: php-common >= 4:%{php_min_version} -Requires: php-pcre BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)