From: Elan Ruusamäe Date: Sat, 14 Sep 2013 00:06:42 +0000 (+0300) Subject: version and extension deps X-Git-Tag: auto/th/php-pear-Date_HumanDiff-0.4.0-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=54b0414de7bdef612a0ed722f1bbe75b36909596;p=packages%2Fphp-pear-Date_HumanDiff.git version and extension deps --- diff --git a/php-pear-Date_HumanDiff.spec b/php-pear-Date_HumanDiff.spec index 62eea6b..faa40bb 100644 --- a/php-pear-Date_HumanDiff.spec +++ b/php-pear-Date_HumanDiff.spec @@ -1,5 +1,6 @@ %define status alpha %define pearname Date_HumanDiff +%define php_min_version 5.0.0 %include /usr/lib/rpm/macros.php Summary: %{pearname} - Generate textual time differences that are easily understandable by humans Name: php-pear-Date_HumanDiff @@ -14,6 +15,9 @@ BuildRequires: php-packagexml2cl BuildRequires: php-pear-PEAR BuildRequires: rpm-php-pearprov >= 4.4.2-11 BuildRequires: rpmbuild(macros) >= 1.610 +Requires: php(core) >= %{php_min_version} +Requires: php(date) +Requires: php(pcre) Requires: php-pear BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)