diff options
Diffstat (limited to 'php-brotli.spec')
| -rw-r--r-- | php-brotli.spec | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/php-brotli.spec b/php-brotli.spec index 041c172..b1945e1 100644 --- a/php-brotli.spec +++ b/php-brotli.spec @@ -30,8 +30,8 @@ Name: %{?scl_prefix}php-%{pecl_name} Summary: Brotli Extension for PHP License: MIT -Version: 0.18.3 -Release: 2%{?dist} +Version: 0.20.0 +Release: 1%{?dist} %forgemeta URL: %{forgeurl} Source0: %{forgesource} @@ -39,7 +39,9 @@ Source0: %{forgesource} BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 +%if %{with apcu} BuildRequires: %{?scl_prefix}php-pecl-apcu-devel +%endif %if %{with libbrotli} BuildRequires: brotli-devel >= 0.6.0 %else @@ -95,9 +97,11 @@ cat << 'EOF' | tee %{ini_name} extension = %{pecl_name}.so ; Configuration -;brotli.output_compression = 0 +;brotli.output_compression = Off ;brotli.output_compression_level = 11 +;brotli.output_compression_exclude_types = ;brotli.output_compression_dict = +;brotli.apcu_compression_level = 11 EOF @@ -115,6 +119,9 @@ cd ../NTS %if %{with libbrotli} --with-libbrotli \ %endif +%if %{with apcu} + --enable-apcu \ +%endif --with-libdir=%{_lib} \ --enable-brotli @@ -127,6 +134,9 @@ cd ../ZTS %if %{with libbrotli} --with-libbrotli \ %endif +%if %{with apcu} + --enable-apcu \ +%endif --with-libdir=%{_lib} \ --enable-brotli @@ -200,6 +210,12 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Jul 3 2026 Remi Collet <remi@remirepo.net> - 0.20.0-1 +- update to 0.20.0 + +* Fri Jun 5 2026 Remi Collet <remi@remirepo.net> - 0.19.0-1 +- update to 0.19.0 + * Tue Mar 17 2026 Remi Collet <remi@remirepo.net> - 0.18.3-2 - drop pear/pecl dependency - sources from github |
