rpms/balance/devel balance-3.42-optflags.patch, NONE, 1.1 balance.spec, 1.2, 1.3

Ville Skyttä scop at fedoraproject.org
Wed May 20 22:00:48 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/balance/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3803

Modified Files:
	balance.spec 
Added Files:
	balance-3.42-optflags.patch 
Log Message:
* Thu May 21 2009 Ville Skyttä <ville.skytta at iki.fi> - 3.42-6
- Build with $RPM_OPT_FLAGS (#497435).


balance-3.42-optflags.patch:

--- NEW FILE balance-3.42-optflags.patch ---
diff -up balance-3.42/Makefile~ balance-3.42/Makefile
--- balance-3.42/Makefile~	2008-04-08 20:40:02.000000000 +0300
+++ balance-3.42/Makefile	2009-04-24 00:10:55.000000000 +0300
@@ -1,7 +1,7 @@
 # $Id: Makefile,v 1.45 2008/04/08 17:39:08 tommy Exp $
 
 #CFLAGS=-g -I.
-CFLAGS=-O2 -Wall -Wstrict-prototypes -Wuninitialized
+CFLAGS=-O2 -Wall -Wstrict-prototypes -Wuninitialized $(RPM_OPT_FLAGS)
 
 # uncomment for any OS other than Cygwin
 BALANCE=balance


Index: balance.spec
===================================================================
RCS file: /cvs/pkgs/rpms/balance/devel/balance.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- balance.spec	24 Feb 2009 03:58:26 -0000	1.2
+++ balance.spec	20 May 2009 22:00:18 -0000	1.3
@@ -1,6 +1,6 @@
 Name: balance
 Version: 3.42
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: TCP load-balancing proxy server with round robin and failover mechanisms
 Group: Applications/Internet
 License: GPLv2
@@ -11,6 +11,7 @@ URL: http://www.inlab.de/balance.html
 # the current ipv6 code in balance is broken, will probable fixed in newer version's, please help to fix :-)
 # setsockopt(IPV6_V6ONLY=0): Protocol not available
 Patch0: disable_IPV6_code_for_now.patch
+Patch1: %{name}-3.42-optflags.patch
 
 %description
 Balance is a simple but powerful generic tcp proxy with round robin
@@ -20,6 +21,7 @@ be controlled at runtime using a simple 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} %{?_smp_mflags}
@@ -42,6 +44,9 @@ be controlled at runtime using a simple 
 %dir %{_localstatedir}/run/%{name}
 
 %changelog
+* Thu May 21 2009 Ville Skyttä <ville.skytta at iki.fi> - 3.42-6
+- Build with $RPM_OPT_FLAGS (#497435).
+
 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.42-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list