diff options
author | Remi Collet <remi@remirepo.net> | 2020-05-29 08:55:42 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-05-29 08:55:42 +0200 |
commit | 8b739f08f6df4a80f1237fd38f96512b16c01cd0 (patch) | |
tree | 95e8a5b8430b27fa78639aee537e001b4daf5dcb | |
parent | b765d35a66de53a59dc30946558602517e9a74d0 (diff) |
update to 0.1.10 with libsnappy 1.1.8
-rw-r--r-- | PHPINFO | 6 | ||||
-rw-r--r-- | REFLECTION | 2 | ||||
-rw-r--r-- | php-snappy.spec | 31 |
3 files changed, 32 insertions, 7 deletions
@@ -0,0 +1,6 @@ + +snappy + +Snappy support => enabled +Extension Version => 0.1.10 +Snappy Version => 1.1.8 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #129 snappy version 0.1.9 ] { +Extension [ <persistent> extension #97 snappy version 0.1.10 ] { - Functions { Function [ <internal:snappy> function snappy_compress ] { diff --git a/php-snappy.spec b/php-snappy.spec index 622630f..a8bf513 100644 --- a/php-snappy.spec +++ b/php-snappy.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-snappy # -# Copyright (c) 2016-2017 Remi Collet +# Copyright (c) 2016-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -13,9 +13,13 @@ %global pkg_name %{name} %endif +%if 0%{?fedora} >= 32 +%global with_libsnappy 1 +%else %global with_libsnappy 0 +%endif -%global gh_commit 2f8efcfcb210ea2e00dcdc42a2d4701fe6b3bfad +%global gh_commit ae9f56ca5abfab0375a66263a0882e7782daf0f4 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner kjdev %global gh_project php-ext-snappy @@ -24,13 +28,25 @@ %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini +%if ! 0%{?dtsversion} +%if 0%{?rhel} == 6 +%global dtsenable export PHP_AUTOCONF=autoconf268;export PHP_AUTOHEADER=autoheader268;source /opt/rh/devtoolset-7/enable +BuildRequires: devtoolset-7-toolchain +BuildRequires: autoconf268 +%endif +%if 0%{?rhel} == 7 +%global dtsenable source /opt/rh/devtoolset-7/enable +BuildRequires: devtoolset-7-toolchain +%endif +%endif + Summary: Snappy Extension for PHP Name: %{?sub_prefix}php-snappy -Version: 0.1.9 +Version: 0.1.10 %if 0%{?gh_date:1} -Release: 0.6.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif %if %{?with_libsnappy} License: PHP @@ -46,7 +62,7 @@ BuildRequires: %{?scl_prefix}php-devel %if %{?with_libsnappy} BuildRequires: snappy-devel %else -Provides: bundled(snappy) = 1.1.7 +Provides: bundled(snappy) = 1.1.8 %endif Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -227,6 +243,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri May 29 2020 Remi Collet <remi@remirepo.net> - 0.1.10-1 +- update to 0.1.10 with libsnappy 1.1.8 + * Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 0.1.9-4 - rebuild for 7.4.0RC1 |