From e79fcd4985dd0c89a3686f3073de183a007d959c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Jul 2019 08:06:05 +0200 Subject: add patch for 7.4.0beta1 from https://github.com/kjdev/php-ext-brotli/pull/23 --- php-brotli.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-brotli.spec') diff --git a/php-brotli.spec b/php-brotli.spec index 7b4a3eb..eac95bf 100644 --- a/php-brotli.spec +++ b/php-brotli.spec @@ -38,7 +38,7 @@ Version: 0.7.0 %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: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} @@ -46,6 +46,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-brotli/pull/23.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel %if %{?with_libbrotli} @@ -95,6 +97,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO mv %{gh_project}-%{gh_commit} NTS cd NTS +%patch0 -p1 # replace symlink rm LICENSE @@ -225,6 +228,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Jul 24 2019 Remi Collet - 0.7.0-3 +- add patch for 7.4.0beta1 from + https://github.com/kjdev/php-ext-brotli/pull/23 + * Tue Jul 23 2019 Remi Collet - 0.7.0-2 - rebuild for 7.4.0beta1 -- cgit