summaryrefslogtreecommitdiffstats
path: root/php-brotli.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-07-24 08:06:05 +0200
committerRemi Collet <remi@remirepo.net>2019-07-24 08:06:05 +0200
commite79fcd4985dd0c89a3686f3073de183a007d959c (patch)
tree0e7dc8ccecdf9258b3c4ce71df22dff29b8689a6 /php-brotli.spec
parent827fd863a9c84df2d893d140c380a34c8f92dc1f (diff)
add patch for 7.4.0beta1 from https://github.com/kjdev/php-ext-brotli/pull/23
Diffstat (limited to 'php-brotli.spec')
-rw-r--r--php-brotli.spec9
1 files changed, 8 insertions, 1 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 0.7.0-2
- rebuild for 7.4.0beta1