diff options
author | Remi Collet <remi@remirepo.net> | 2019-07-24 07:38:23 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-07-24 07:38:23 +0200 |
commit | 36f22b1c5c80bfd2ba7a33160d9c186521d76bc0 (patch) | |
tree | 68d2f918ecaffa22f9eb7254acb753fcea847225 /php-zstd.spec | |
parent | 07b29fe767f0a7f98b856fb02879ed595f9be1ac (diff) |
add patch for 7.4.0beta1 from https://github.com/kjdev/php-ext-zstd/pull/24
Diffstat (limited to 'php-zstd.spec')
-rw-r--r-- | php-zstd.spec | 10 |
1 files changed, 9 insertions, 1 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 0.7.3-3 - rebuild for 7.4.0beta1 |