rpms/haproxy/devel .cvsignore, 1.9, 1.10 haproxy.spec, 1.11, 1.12 sources, 1.9, 1.10

Jeremy Hinegardner jjh at fedoraproject.org
Sat Nov 15 21:24:33 UTC 2008


Author: jjh

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

Modified Files:
	.cvsignore haproxy.spec sources 
Log Message:
update to upstream 1.3.15.6


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/haproxy/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore	29 Jun 2008 03:55:49 -0000	1.9
+++ .cvsignore	15 Nov 2008 21:24:03 -0000	1.10
@@ -1 +1 @@
-haproxy-1.3.14.6.tar.gz
+haproxy-1.3.15.6.tar.gz


Index: haproxy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/haproxy/devel/haproxy.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- haproxy.spec	29 Jun 2008 03:55:49 -0000	1.11
+++ haproxy.spec	15 Nov 2008 21:24:03 -0000	1.12
@@ -5,7 +5,7 @@
 %define haproxy_datadir %{_datadir}/haproxy
 
 Name:           haproxy
-Version:        1.3.14.6
+Version:        1.3.15.6
 Release:        1%{?dist}
 Summary:        HA-Proxy is a TCP/HTTP reverse proxy for high availability environments
 
@@ -42,21 +42,29 @@
 %prep
 %setup -q
 
+
 %build
 # No configure script is present, it is all done via make flags
 # FC 7 and up is linux 2.6 so using linux26 as target.
-make %{?_smp_mflags} CPU="generic" TARGET="linux26" USE_PCRE=1 ADDINC="%{optflags}"
+%ifarch %ix86
+USE_REGPARM=1
+%else
+USE_REGPARM=0
+%endif
+
+make %{?_smp_mflags} CPU="generic" TARGET="linux26" USE_PCRE=1 ADDINC="%{optflags}" USE_REGPARM=${USE_REGPARM}
 
 
 %install
 rm -rf %{buildroot}
-# there is no install make target, only one file is created during build
-%{__install} -p -D -m 0755 %{name} %{buildroot}%{_sbindir}/%{name}
+make install-bin DESTDIR=%{buildroot} PREFIX=%{_prefix} MANDIR=%{_mandir}
+make install-man DESTDIR=%{buildroot} PREFIX=%{_prefix} MANDIR=%{_mandir}
+
 %{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
 %{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{haproxy_confdir}/%{name}.cfg
 %{__install} -d -m 0755 %{buildroot}%{haproxy_home}
 %{__install} -d -m 0755 %{buildroot}%{haproxy_datadir}
-%{__install} -p -D -m 0644 ./doc/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+
 for httpfile in $(find ./examples/errorfiles/ -type f) 
 do
     %{__install} -p -m 0644 $httpfile %{buildroot}%{haproxy_datadir}
@@ -118,6 +126,11 @@
 
 
 %changelog
+* Sat Nov 15 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.3.15.6-1
+- update to 1.3.15.6
+- use new build targets from upstream
+- add in recommended build options for x86 from upstream
+
 * Sat Jun 28 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.3.14.6-1
 - update to 1.3.14.6
 - remove gcc 4.3 patch, it has been applied upstream


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/haproxy/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	29 Jun 2008 03:55:49 -0000	1.9
+++ sources	15 Nov 2008 21:24:03 -0000	1.10
@@ -1 +1 @@
-b8977d22ff5467ae56206f79d242223e  haproxy-1.3.14.6.tar.gz
+470cfd76b3a5608f4db02930c556d1e2  haproxy-1.3.15.6.tar.gz




More information about the fedora-extras-commits mailing list