summaryrefslogtreecommitdiffstats
path: root/unit-php.spec
diff options
context:
space:
mode:
Diffstat (limited to 'unit-php.spec')
-rw-r--r--unit-php.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/unit-php.spec b/unit-php.spec
index a15f060..0f7636d 100644
--- a/unit-php.spec
+++ b/unit-php.spec
@@ -35,13 +35,15 @@ Requires: %{scl_prefix}php-embedded
Name: %{?scl_prefix}%{project}-php
Version: 1.19.0
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: PHP module for NGINX Unit
License: ASL 2.0
URL: https://unit.nginx.org/
Source0: https://github.com/%{gh_owner}/%{project}/archive/%{gh_commit}/%{project}-%{version}-%{gh_short}.tar.gz
+Patch0: https://patch-diff.githubusercontent.com/raw/nginx/unit/pull/474.patch
+
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-embedded
@@ -60,6 +62,7 @@ and NGINX unit %{version}.
%prep
%setup -qn %{project}-%{gh_commit}
+%patch0 -p1 -b .pr
%build
@@ -118,6 +121,10 @@ make %{modname}-install DESTDIR=%{buildroot}
%changelog
+* Wed Sep 2 2020 Remi Collet <remi@remirepo.net> - 1.19.0-2
+- add patch for PHP 8.0.0beta3 from
+ https://github.com/nginx/unit/pull/474
+
* Fri Aug 14 2020 Remi Collet <remi@remirepo.net> - 1.19.0-1
- update to 1.19.0
- drop patch merged upstream