From 1dca2e185976b2814ad351214618dc679a32c236 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 3 Sep 2021 18:05:58 +0200 Subject: fix build with recent glibc using patch from https://github.com/nginx/unit/pull/576 --- unit.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'unit.spec') diff --git a/unit.spec b/unit.spec index 0f70879..e2019c9 100644 --- a/unit.spec +++ b/unit.spec @@ -17,7 +17,7 @@ Name: unit Summary: NGINX Unit application server Version: 1.25.0 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 URL: https://unit.nginx.org/ @@ -30,6 +30,7 @@ Source4: unit.logrotate # Use system crypto policy # https://github.com/nginx/unit/pull/215 Patch0: %{project}-syspol.patch +Patch1: %{project}-build.patch BuildRequires: make BuildRequires: gcc @@ -64,6 +65,7 @@ Library and include files required for NGINX Unit modules development. %prep %setup -qn %{project}-%{gh_commit} %patch0 -p1 -b .syspol +%patch1 -p1 -b .build cp pkg/rpm/rpmbuild/SOURCES/unit.example.config example.config @@ -187,6 +189,10 @@ BANNER %changelog +* Fri Sep 3 2021 Remi Collet - 1.25.0-2 +- fix build with recent glibc using patch from + https://github.com/nginx/unit/pull/576 + * Tue Aug 24 2021 Remi Collet - 1.25.0-1 - update to 1.25.0 -- cgit