commit 54b0414de7bdef612a0ed722f1bbe75b36909596
Author: Elan Ruusamäe <[email protected]>
Date: Sat Sep 14 03:06:42 2013 +0300
version and extension deps
php-pear-Date_HumanDiff.spec | 4 ++++
1 file changed, 4 insertions(+)
---
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)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Date_HumanDiff.git/commitdiff/54b0414de7bdef612a0ed722f1bbe75b36909596
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit