From a3211358265bfafa5089300210c9be11fc43ff7c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 3 Sep 2021 18:11:20 +0200 Subject: fix build with recent glibc using patch from https://github.com/nginx/unit/pull/576 --- unit-php.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'unit-php.spec') diff --git a/unit-php.spec b/unit-php.spec index 01c3baa..5904298 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.25.0 -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;')}} 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 +Patch1: unit-build.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel @@ -62,6 +64,7 @@ and NGINX unit %{version}. %prep %setup -qn %{project}-%{gh_commit} +%patch1 -p1 -b .build %build @@ -122,6 +125,10 @@ make %{modname}-install DESTDIR=%{buildroot} %changelog +* Fri Sep 3 2021 Remi Collet - 1.25.0-3 +- fix build with recent glibc using patch from + https://github.com/nginx/unit/pull/576 + * Wed Sep 01 2021 Remi Collet - 1.25.0-2 - rebuild for 8.1.0RC1 -- cgit