[packages/php-pear-Date_HumanDiff: 2/2] version and extension deps

glen glen at pld-linux.org
Sat Sep 14 02:07:10 CEST 2013


commit 54b0414de7bdef612a0ed722f1bbe75b36909596
Author: Elan Ruusamäe <glen at delfi.ee>
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



More information about the pld-cvs-commit mailing list