From 9cbbeeb8bf10350b425e8ec7cdfcc9fc552b7208 Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Wed, 2 Jul 2014 17:29:22 +0100 Subject: [PATCH] Fix FTBFS on aarch64 (thanks Yaakov Selkowitz ) --- nginx.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nginx.spec b/nginx.spec index e34e9dd..83a87c1 100644 --- a/nginx.spec +++ b/nginx.spec @@ -13,10 +13,15 @@ %global with_gperftools 1 %endif +# AIO missing on some arches +%ifnarch aarch64 +%global with_aio 1 +%endif + Name: nginx Epoch: 1 Version: 1.6.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A high performance web server and reverse proxy server Group: System Environment/Daemons @@ -111,7 +116,9 @@ export DESTDIR=%{buildroot} %endif --user=%{nginx_user} \ --group=%{nginx_group} \ +%if 0%{?with_aio} --with-file-aio \ +%endif --with-ipv6 \ --with-http_ssl_module \ --with-http_spdy_module \ @@ -268,6 +275,9 @@ fi %changelog +* Wed Jul 02 2014 Yaakov Selkowitz - 1:1.6.0-3 +- Fix FTBFS on aarch64 (#1115559) + * Sat Jun 07 2014 Fedora Release Engineering - 1:1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild