diff options
Diffstat (limited to 'php-pecl-csv.spec')
-rw-r--r-- | php-pecl-csv.spec | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/php-pecl-csv.spec b/php-pecl-csv.spec index 4419cc4..fc05e64 100644 --- a/php-pecl-csv.spec +++ b/php-pecl-csv.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-csv # -# Copyright (c) 2020-2021 Remi Collet +# Copyright (c) 2020-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -21,14 +21,12 @@ Summary: CSV PHP extension Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 0.4.1 +Version: 0.4.2 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP URL: https://pecl.php.net/package/%{proj_name} Source0: https://pecl.php.net/get/%{proj_name}-%{version}.tgz -Patch0: 0001-fix-c89.patch - BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 8.0 @@ -81,8 +79,6 @@ sed -e 's/role="test"/role="src"/' \ cd NTS find . -type f -exec chmod -x {} \; -%patch0 -p1 -b .pr2 - : Sanity check, really often broken extver=$(sed -n '/# define PHP_CSV_VERSION /{s/.* "//;s/".*$//;p}' php_csv.h) if test "x${extver}" != "x%{version}"; then @@ -154,11 +150,8 @@ cd NTS --modules | grep -i '^%{pecl_name}$' : Upstream test suite for NTS extension -TEST_PHP_EXECUTABLE=%{_bindir}/php \ TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \ -NO_INTERACTION=1 \ -REPORT_EXIT_STATUS=1 \ -%{_bindir}/php -n run-tests.php --show-diff +%{_bindir}/php -n run-tests.php -q --show-diff %if %{with_zts} cd ../ZTS @@ -168,11 +161,8 @@ cd ../ZTS --modules | grep -i '^%{pecl_name}$' : Upstream test suite for ZTS extension -TEST_PHP_EXECUTABLE=%{__ztsphp} \ TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \ -NO_INTERACTION=1 \ -REPORT_EXIT_STATUS=1 \ -%{__ztsphp} -n run-tests.php --show-diff +%{__ztsphp} -n run-tests.php -q --show-diff %endif @@ -211,6 +201,9 @@ fi %changelog +* Wed Jun 1 2022 Remi Collet <remi@remirepo.net> - 0.4.2-1 +- update to 0.4.2 + * Mon Sep 6 2021 Remi Collet <remi@remirepo.net> - 0.4.1-1 - update to 0.4.1 |