From 8a97985f4d16e6bbc8dbd6e86fe2e69b470adad9 Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Apr 19 2012 15:56:06 +0000 Subject: Re-enable auto-cc-gcc patch for build warnings --- diff --git a/nginx.spec b/nginx.spec index 61611ac..4e5bc74 100644 --- a/nginx.spec +++ b/nginx.spec @@ -11,7 +11,7 @@ Name: nginx Epoch: 1 Version: 1.0.15 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A high performance web server and reverse proxy server Group: System Environment/Daemons @@ -35,7 +35,7 @@ Source104: 50x.html # removes -Werror in upstream build scripts. -Werror conflicts with # -D_FORTIFY_SOURCE=2 causing warnings to turn into errors. -#Patch0: nginx-auto-cc-gcc.patch +Patch0: nginx-auto-cc-gcc.patch BuildRequires: GeoIP-devel BuildRequires: gd-devel @@ -65,7 +65,7 @@ memory usage. %prep %setup -q -#%patch0 -p0 +%patch0 -p0 %build @@ -213,7 +213,10 @@ fi %changelog -* Sat Apr 14 2012 Jamie Nguyen - 1:1.0.15-2 +- renable auto-cc-gcc patch due to warnings on rawhide + +* Sat Apr 14 2012 Jamie Nguyen - 1:1.0.15-1 - update to upstream release 1.0.15 - no need to apply auto-cc-gcc patch - add %%global _hardened_build 1