From d5f837b0185533dd2aecab7d25fd044da55077e4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 28 May 2016 07:34:09 +0200 Subject: php-pecl-stats: 2.0.2 (php 7, stable) --- REFLECTION-PHP7 | 6 +++--- php-pecl-stats-php7.spec | 19 ++++++++----------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7 index 1c76cc7..3075e29 100644 --- a/REFLECTION-PHP7 +++ b/REFLECTION-PHP7 @@ -1,4 +1,4 @@ -Extension [ extension #61 stats version 2.0.1 ] { +Extension [ extension #77 stats version 2.0.2 ] { - Functions { Function [ function stats_cdf_t ] { @@ -125,12 +125,12 @@ Extension [ extension #61 stats version 2.0.1 ] { } Function [ function stats_stat_factorial ] { } + Function [ function stats_variance ] { + } Function [ function stats_standard_deviation ] { } Function [ function stats_absolute_deviation ] { } - Function [ function stats_variance ] { - } Function [ function stats_harmonic_mean ] { } Function [ function stats_skew ] { diff --git a/php-pecl-stats-php7.spec b/php-pecl-stats-php7.spec index c826134..e39c6d2 100644 --- a/php-pecl-stats-php7.spec +++ b/php-pecl-stats-php7.spec @@ -14,15 +14,14 @@ Summary: Routines for statistical computation Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 2.0.1 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 2.0.2 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: %{?scl_prefix}php-devel +BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -33,8 +32,10 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +%if "%{?scl_prefix}" != "%{?sub_prefix}" Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} +%endif %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} # Other third party repo stuff @@ -115,8 +116,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} - make -C NTS install INSTALL_ROOT=%{buildroot} # install config file @@ -189,12 +188,7 @@ REPORT_EXIT_STATUS=1 \ %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -208,6 +202,9 @@ rm -rf %{buildroot} %changelog +* Sat May 28 2016 Remi Collet - 2.0.2-1 +- update to 2.0.1 (php 7, stable) + * Sun Mar 6 2016 Remi Collet - 2.0.1-2 - adapt for F24 -- cgit