From c9be8a13b4d49c509358ad7a7fd4fc62d577f102 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 9 Apr 2018 11:43:31 +0200 Subject: v0.4.13 --- REFLECTION | 2 +- php-zstd.spec | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/REFLECTION b/REFLECTION index 2181386..ffd4cb9 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #176 zstd version 0.4.12 ] { +Extension [ extension #179 zstd version 0.4.13 ] { - Functions { Function [ function zstd_compress ] { diff --git a/php-zstd.spec b/php-zstd.spec index 585db05..475fe21 100644 --- a/php-zstd.spec +++ b/php-zstd.spec @@ -17,13 +17,13 @@ %global pkg_name %{name} %endif -%if 0%{?fedora} >= 24 || 0%{?rhel} >= 6 +%if 0%{?fedora} >= 26 || 0%{?rhel} >= 6 %global with_libzstd 1 %else %global with_libzstd 0 %endif -%global gh_commit 8cd85458b188bcaec89e4a5ca8bc4f641149a02d +%global gh_commit f90a9137b43041d9aab3eb62bca1a6ddbc011355 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner kjdev %global gh_project php-ext-zstd @@ -34,9 +34,9 @@ Summary: Zstd Extension for PHP Name: %{?sub_prefix}php-%{pecl_name} -Version: 0.4.12 +Version: 0.4.13 %if 0%{?gh_date:1} -Release: 0.3.%{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: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif @@ -52,11 +52,12 @@ Source0: %{pkg_name}-%{version}-%{gh_short}.tgz # retrieve a recursive git snapshot with submodule Source1: makesrc.sh +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel %if %{?with_libzstd} BuildRequires: libzstd-devel >= 1.3 %else -Provides: bundled(libstd) = 1.3.1 +Provides: bundled(libstd) = 1.3.4 %endif Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -241,6 +242,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Mon Apr 9 2018 Remi Collet - 0.4.13-1 +- update to 0.4.13 + * Wed Jan 31 2018 Remi Collet - 0.4.12-1 - update to 0.4.12 (no change, PR merged upstream) -- cgit