[nginx] Fix FTBFS on aarch64 (thanks Yaakov Selkowitz <yselkowi at redhat.com>)

Jamie Nguyen jamielinux at fedoraproject.org
Wed Jul 2 16:31:50 UTC 2014


commit 9cbbeeb8bf10350b425e8ec7cdfcc9fc552b7208
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Wed Jul 2 17:29:22 2014 +0100

    Fix FTBFS on aarch64 (thanks Yaakov Selkowitz <yselkowi at redhat.com>)

 nginx.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
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 <yselkowi at redhat.com> - 1:1.6.0-3
+- Fix FTBFS on aarch64 (#1115559)
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:1.6.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list