From 9c697218a2432dfe2cb128daf64c22b84ae45645 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 29 May 2020 08:13:05 +0200 Subject: update to 0.8.1 with libzstd 1.4.5 drop patch merged upstream --- php-zstd.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'php-zstd.spec') diff --git a/php-zstd.spec b/php-zstd.spec index 850b884..624a70d 100644 --- a/php-zstd.spec +++ b/php-zstd.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-zstd # -# Copyright (c) 2018-2019 Remi Collet +# Copyright (c) 2018-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -17,12 +17,12 @@ %global pkg_name %{name} %endif -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 6 +%if 0%{?fedora} >= 32 %global with_libzstd 1 %else %global with_libzstd 0 %endif -%global zstdver 1.4.4 +%global zstdver 1.4.5 %global pecl_name zstd %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} @@ -31,8 +31,8 @@ Summary: Zstandard extension Name: %{?sub_prefix}php-%{pecl_name} -Version: 0.8.0 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 0.8.1 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %if %{?with_libzstd} License: MIT %else @@ -42,8 +42,6 @@ License: MIT and BSD URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz -Patch0: https://patch-diff.githubusercontent.com/raw/kjdev/php-ext-zstd/pull/31.patch - BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -109,7 +107,6 @@ mv %{pecl_name}-%{version} NTS %{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} cd NTS -%patch0 -p1 cp zstd/LICENSE LICENSE-libzstd %if %{?with_libzstd} @@ -253,6 +250,10 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ %changelog +* Fri May 29 2020 Remi Collet - 0.8.1-1 +- update to 0.8.1 with libzstd 1.4.5 +- drop patch merged upstream + * Wed Apr 15 2020 Remi Collet - 0.8.0-2 - fix test suite with PHP 8 using patch from https://github.com/kjdev/php-ext-zstd/pull/31 -- cgit