[Pound/el5: 47/47] Unbreak el5 build

Lubomir Rintel lkundrak at fedoraproject.org
Fri Oct 24 15:57:32 UTC 2014


commit 92dd9428096f8171a1255e4fc523d58e98875b5c
Author: Lubomir Rintel <lkundrak at v3.sk>
Date:   Fri Oct 24 17:57:24 2014 +0200

    Unbreak el5 build

 Pound.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/Pound.spec b/Pound.spec
index 6635ded..7115df0 100644
--- a/Pound.spec
+++ b/Pound.spec
@@ -4,7 +4,7 @@
 
 Name:        Pound
 Version:     2.6
-Release:     2%{?dist}.1
+Release:     2%{?dist}.2
 Summary:     Reverse proxy and load balancer
 
 Group:       System Environment/Daemons
@@ -13,7 +13,7 @@ URL:         http://www.apsis.ch/pound
 BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
-BuildRequires: openssl-devel, pcre-devel
+BuildRequires: openssl-devel, pcre-devel, pkgconfig
 
 # tcmalloc doesn't exist on ppc64 yet (#238390)
 # or sparc arches
@@ -67,6 +67,8 @@ give away
 %patch5 -p1
 
 %build
+# Because fuck you old compilers
+sed 's/-Wno-unused-result//' -i configure
 %configure
 make %{?_smp_mflags}
 
@@ -137,6 +139,9 @@ fi
 %attr(-,%{pound_user},%{pound_group}) %dir %{pound_home}
 
 %changelog
+* Fri Oct 24 2014 Lubomir Rintel <lkundrak at v3.sk> - 2.6-2.2
+- Unbreak el5 build
+
 * Fri Oct 24 2014 Lubomir Rintel <lkundrak at v3.sk> - 2.6-2.1
 - Backport various security fixes. Note they usually are extra options that need
   to be enabled manually so that we won't break functionality:


More information about the scm-commits mailing list