Build with zlib and openssl support

This commit is contained in:
Ryan O'Hara 2014-06-19 23:32:21 -05:00
parent 8cd8592694
commit 0f83930fe6

View File

@ -8,7 +8,7 @@
Name: haproxy Name: haproxy
Version: 1.5.0 Version: 1.5.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: HAProxy reverse proxy for high availability environments Summary: HAProxy reverse proxy for high availability environments
Group: System Environment/Daemons Group: System Environment/Daemons
@ -24,6 +24,8 @@ Source4: halog.1
Patch0: halog-unused-variables.patch Patch0: halog-unused-variables.patch
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: zlib-devel
BuildRequires: openssl-devel
BuildRequires: systemd-units BuildRequires: systemd-units
Requires(pre): shadow-utils Requires(pre): shadow-utils
@ -57,7 +59,7 @@ regparm_opts=
regparm_opts="USE_REGPARM=1" regparm_opts="USE_REGPARM=1"
%endif %endif
%{__make} %{?_smp_mflags} CPU="generic" TARGET="linux2628" USE_PCRE=1 ${regparm_opts} ADDINC="%{optflags}" USE_LINUX_TPROXY=1 ADDLIB="%{__global_ldflags}" %{__make} %{?_smp_mflags} CPU="generic" TARGET="linux2628" USE_PCRE=1 USE_ZLIB=1 USE_OPENSSL=1 ${regparm_opts} ADDINC="%{optflags}" USE_LINUX_TPROXY=1 ADDLIB="%{__global_ldflags}"
pushd contrib/halog pushd contrib/halog
%{__make} ${halog} OPTIMIZE="%{optflags}" %{__make} ${halog} OPTIMIZE="%{optflags}"
@ -128,6 +130,9 @@ exit 0
%changelog %changelog
* Thu Jun 19 2014 Ryan O'Hara <rohara@redhat.com> - 1.5.0-2
- Build with zlib and openssl support
* Thu Jun 19 2014 Ryan O'Hara <rohara@redhat.com> - 1.5.0-1 * Thu Jun 19 2014 Ryan O'Hara <rohara@redhat.com> - 1.5.0-1
- Update to 1.5.0 - Update to 1.5.0