From d1117b173033cc9abfdcd4c031ea41e2bbd0ada1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 29 Sep 2021 07:54:21 +0200 Subject: update to 2.0.0 raise dependency on PHP 7.2 --- PHPINFO | 2 +- REFLECTION | 2 +- php-pecl-uploadprogress.spec | 20 +++++++------------- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/PHPINFO b/PHPINFO index e9bcb20..bf832c6 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ uploadprogress uploadprogress support => enabled -Version => 1.1.4 +Version => 2.0.0 Directive => Local Value => Master Value uploadprogress.file.filename_template => /tmp/upt_%s.txt => /tmp/upt_%s.txt diff --git a/REFLECTION b/REFLECTION index 4f07d43..c2ca9dd 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #125 uploadprogress version 1.1.4 ] { +Extension [ extension #125 uploadprogress version 2.0.0 ] { - INI { Entry [ uploadprogress.file.filename_template ] diff --git a/php-pecl-uploadprogress.spec b/php-pecl-uploadprogress.spec index dea09e5..8d02eae 100644 --- a/php-pecl-uploadprogress.spec +++ b/php-pecl-uploadprogress.spec @@ -15,15 +15,11 @@ %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name uploadprogress -%if "%{php_version}" < "5.6" -%global ini_name %{pecl_name}.ini -%else %global ini_name 40-%{pecl_name}.ini -%endif Summary: An extension to track progress of a file upload Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.1.4 +Version: 2.0.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages @@ -32,7 +28,7 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz BuildRequires: make BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel +BuildRequires: %{?scl_prefix}php-devel >= 7.2 BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -48,12 +44,8 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele %if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -%if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "5.6" Obsoletes: php56u-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.3" Obsoletes: php73-pecl-%{pecl_name} <= %{version} %endif @@ -194,10 +186,8 @@ cd ../ZTS %if %{with tests} cd ../NTS : Run upstream test suite -REPORT_EXIT_STATUS=1 \ -TEST_PHP_EXECUTABLE=%{__php} \ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ -%{__php} -n run-tests.php -q --show-diff +%{__php} -n run-tests.php -q -P --show-diff %endif @@ -216,6 +206,10 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ %changelog +* Wed Sep 29 2021 Remi Collet - 2.0.0-1 +- update to 2.0.0 +- raise dependency on PHP 7.2 + * Wed Sep 29 2021 Remi Collet - 1.1.4-1 - update to 1.1.4 - run upstream test suite during build -- cgit