[packages/php-bartlett-PHP_Reflect] specify php min version

glen glen at pld-linux.org
Sun Apr 19 14:18:14 CEST 2015


commit 9841f672b26c85f706ef21b27297f1c1448c66de
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 19 15:17:57 2015 +0300

    specify php min version

 php-bartlett-PHP_Reflect.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php-bartlett-PHP_Reflect.spec b/php-bartlett-PHP_Reflect.spec
index 6d16bf9..464b109 100644
--- a/php-bartlett-PHP_Reflect.spec
+++ b/php-bartlett-PHP_Reflect.spec
@@ -1,5 +1,6 @@
 %define		status		stable
 %define		pearname	PHP_Reflect
+%define		php_min_version 5.2.0
 %include	/usr/lib/rpm/macros.php
 Summary:	%{pearname} - Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more
 Name:		php-bartlett-PHP_Reflect
@@ -15,6 +16,7 @@ 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(pcre)
 Requires:	php(spl)
 Requires:	php(tokenizer)
@@ -24,8 +26,6 @@ Suggests:	php-phpunit-PHPUnit
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_sysconfdir	%(pear config-get cfg_dir 2>/dev/null || ERROR)/%{pearname}
-
 # exclude optional dependencies
 %define		_noautoreq_pear PHPUnit.*
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-bartlett-PHP_Reflect.git/commitdiff/9841f672b26c85f706ef21b27297f1c1448c66de



More information about the pld-cvs-commit mailing list