summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2013-11-24 23:02:17 (GMT)
committerElan Ruusamäe2013-11-24 23:02:17 (GMT)
commit13ed2c55e00b2fb53e7f73eb91a7b83445a85404 (patch)
treebfba14fbe3395d4824b5d4dd5ed46eb8a284bbea
parent21155e8f187e076378fee15691a79c2648633b15 (diff)
downloadphp-pecl-stats-13ed2c55e00b2fb53e7f73eb91a7b83445a85404.zip
php-pecl-stats-13ed2c55e00b2fb53e7f73eb91a7b83445a85404.tar.gz
provide php(extname) to really be supporting multiple php versionsHEADauto/ac/php-pecl-stats-1.0.2-4AC-branchmaster
-rw-r--r--php-pecl-stats.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/php-pecl-stats.spec b/php-pecl-stats.spec
index 660e34c..fbc89f9 100644
--- a/php-pecl-stats.spec
+++ b/php-pecl-stats.spec
@@ -5,7 +5,7 @@ Summary: %{modname} - extension with routines for statistical computation
Summary(pl.UTF-8): %{modname} - rozszerzenie z funkcjami do wykonywania obliczeń statystycznych
Name: %{php_name}-pecl-%{modname}
Version: 1.0.2
-Release: 3
+Release: 4
License: PHP 3.01
Group: Development/Languages/PHP
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -14,7 +14,8 @@ URL: http://pecl.php.net/package/stats/
BuildRequires: %{php_name}-devel >= 3:5.0.0
BuildRequires: rpmbuild(macros) >= 1.650
%{?requires_php_extension}
-Requires: php-common >= 4:5.0.4
+Requires: php(core) >= 5.0.4
+Provides: php(%{modname}) = %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description