From e5a83796a0dd67459cb445d263c3537c32e276c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 19 Apr 2015 15:23:12 +0300 Subject: [PATCH] specify php min version --- php-bartlett-PHP_CompatInfo.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php-bartlett-PHP_CompatInfo.spec b/php-bartlett-PHP_CompatInfo.spec index 70fe5b4..cbb744c 100644 --- a/php-bartlett-PHP_CompatInfo.spec +++ b/php-bartlett-PHP_CompatInfo.spec @@ -1,4 +1,5 @@ %define pearname PHP_CompatInfo +%define php_min_version 5.2.1 %include /usr/lib/rpm/macros.php Summary: %{pearname} - Find out the minimum version and the extensions required for a piece of code to run Name: php-bartlett-PHP_CompatInfo @@ -14,6 +15,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(dom) Requires: php(pcre) Requires: php(reflection) -- 2.44.0