[packages/php-zz-MIME_Type_PlainDetect: 2/2] php version dep

glen glen at pld-linux.org
Sat Sep 14 02:26:30 CEST 2013


commit 869f42b34ef11478f042383b47496c0fd58e9180
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Sep 14 03:26:00 2013 +0300

    php version dep

 php-zz-MIME_Type_PlainDetect.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/php-zz-MIME_Type_PlainDetect.spec b/php-zz-MIME_Type_PlainDetect.spec
index f00394b..cf85e07 100644
--- a/php-zz-MIME_Type_PlainDetect.spec
+++ b/php-zz-MIME_Type_PlainDetect.spec
@@ -1,5 +1,6 @@
 %define		status		alpha
 %define		pearname	MIME_Type_PlainDetect
+%define		php_min_version 5.0.0
 %include	/usr/lib/rpm/macros.php
 Summary:	%{pearname} - Detect the MIME type of source code files
 Name:		php-zz-MIME_Type_PlainDetect
@@ -15,6 +16,7 @@ BuildRequires:	php-packagexml2cl
 BuildRequires:	php-pear-PEAR >= 1:1.9.0
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.610
+Requires:	php(core) >= %{php_min_version}
 Requires:	php-channel(zustellzentrum.cweiske.de)
 Requires:	php-pear
 Requires:	php-pear-MIME_Type >= 1.3.1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-zz-MIME_Type_PlainDetect.git/commitdiff/869f42b34ef11478f042383b47496c0fd58e9180



More information about the pld-cvs-commit mailing list