From 36f22b1c5c80bfd2ba7a33160d9c186521d76bc0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Jul 2019 07:38:23 +0200 Subject: add patch for 7.4.0beta1 from https://github.com/kjdev/php-ext-zstd/pull/24 --- php-zstd.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'php-zstd.spec') diff --git a/php-zstd.spec b/php-zstd.spec index 6f09d81..768dff1 100644 --- a/php-zstd.spec +++ b/php-zstd.spec @@ -40,7 +40,7 @@ Version: 0.7.3 %if 0%{?gh_date:1} Release: 2%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif %if %{?with_libzstd} License: MIT @@ -53,6 +53,8 @@ Source0: %{pkg_name}-%{version}-%{gh_short}.tgz # retrieve a recursive git snapshot with submodule Source1: makesrc.sh +Patch0: https://patch-diff.githubusercontent.com/raw/kjdev/php-ext-zstd/pull/24.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel %if %{?with_libzstd} @@ -114,6 +116,8 @@ These are the files needed to compile programs using %{name}. mv %{gh_project}-%{gh_commit} NTS cd NTS +%patch0 -p1 + # replace symlink rm LICENSE-zstd mv zstd/LICENSE LICENSE-libzstd @@ -247,6 +251,10 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ %changelog +* Wed Jul 24 2019 Remi Collet - 0.7.3-4 +- add patch for 7.4.0beta1 from + https://github.com/kjdev/php-ext-zstd/pull/24 + * Tue Jul 23 2019 Remi Collet - 0.7.3-3 - rebuild for 7.4.0beta1 -- cgit