[packages/php-twig-Twig] extension deps with compatinfo
glen
glen at pld-linux.org
Fri Apr 11 20:06:38 CEST 2014
commit f821a87f4b5a3befae15bddf75b8a541c41e8cc1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Sep 14 03:02:12 2013 +0300
extension deps with compatinfo
php-twig-Twig.spec | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/php-twig-Twig.spec b/php-twig-Twig.spec
index 72ed494..3c540f4 100644
--- a/php-twig-Twig.spec
+++ b/php-twig-Twig.spec
@@ -1,5 +1,6 @@
%define status stable
%define pearname Twig
+%define php_min_version 5.2.0
%include /usr/lib/rpm/macros.php
Summary: %{pearname} - Twig is a PHP template engine
Name: php-twig-Twig
@@ -15,6 +16,15 @@ 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(ctype)
+Requires: php(date)
+Requires: php(dom)
+Requires: php(hash)
+Requires: php(json)
+Requires: php(mbstring)
+Requires: php(pcre)
+Requires: php(spl)
Requires: php-channel(pear.twig-project.org)
Requires: php-pear
BuildArch: noarch
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-twig-Twig.git/commitdiff/8e6c452113259aa5e1ccb2def2bdc3d567f5acc5
More information about the pld-cvs-commit
mailing list