]> git.pld-linux.org Git - packages/php-bartlett-PHP_CompatInfo.git/commitdiff
specify php min version
authorElan Ruusamäe <glen@delfi.ee>
Sun, 19 Apr 2015 12:23:12 +0000 (15:23 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 19 Apr 2015 12:23:12 +0000 (15:23 +0300)
php-bartlett-PHP_CompatInfo.spec

index 70fe5b471152741d1d42100982f14613b1ef6c7d..cbb744c8f4150cd06d1999bfe61d29795419e58e 100644 (file)
@@ -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)
This page took 0.095092 seconds and 4 git commands to generate.