summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-bartlett-PHP-Reflect.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/php-bartlett-PHP-Reflect.spec b/php-bartlett-PHP-Reflect.spec
index 4f8462a..5353382 100644
--- a/php-bartlett-PHP-Reflect.spec
+++ b/php-bartlett-PHP-Reflect.spec
@@ -23,6 +23,7 @@ Source0: http://%{channel}/get/%{pear_name}-%{version}%{?prever}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+BuildRequires: php(language) >= 5.2.0
BuildRequires: php-pear(PEAR) >= 1.9.0
BuildRequires: php-channel(%{channel})
# to run test suite
@@ -31,6 +32,7 @@ BuildRequires: php-pear(pear.phpunit.de/PHPUnit) >= 3.6.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
# From package.xml
+Requires: php(language) >= 5.2.0
Requires: php-pear(PEAR) >= 1.9.0
Requires: php-channel(%{channel})
Requires: php-pcre
@@ -73,7 +75,6 @@ mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
-
%check
cd %{pear_name}-%{version}%{?prever}