From 798e44d40e3edf8c26c5f45669c794429ec0344e Mon Sep 17 00:00:00 2001 From: Ryan O'Hara Date: Mon, 17 May 2021 11:06:21 -0500 Subject: [PATCH] Add USE_PROMEX=1 for prometheus exporter --- haproxy.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/haproxy.spec b/haproxy.spec index e12bc33..9c431ea 100644 --- a/haproxy.spec +++ b/haproxy.spec @@ -8,7 +8,7 @@ Name: haproxy Version: 2.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: HAProxy reverse proxy for high availability environments License: GPLv2+ @@ -28,7 +28,7 @@ BuildRequires: zlib-devel BuildRequires: openssl-devel BuildRequires: systemd-devel BuildRequires: systemd -BuildRequires: make +BuildRequires: make Requires(pre): shadow-utils %{?systemd_requires} @@ -56,7 +56,7 @@ regparm_opts= regparm_opts="USE_REGPARM=1" %endif -%{__make} %{?_smp_mflags} CPU="generic" TARGET="linux-glibc" USE_OPENSSL=1 USE_PCRE2=1 USE_ZLIB=1 USE_LUA=1 USE_CRYPT_H=1 USE_SYSTEMD=1 USE_LINUX_TPROXY=1 USE_GETADDRINFO=1 ${regparm_opts} ADDINC="%{optflags}" ADDLIB="%{__global_ldflags}" EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o" +%{__make} %{?_smp_mflags} CPU="generic" TARGET="linux-glibc" USE_OPENSSL=1 USE_PCRE2=1 USE_ZLIB=1 USE_LUA=1 USE_CRYPT_H=1 USE_SYSTEMD=1 USE_LINUX_TPROXY=1 USE_GETADDRINFO=1 USE_PROMEX=1 ${regparm_opts} ADDINC="%{optflags}" ADDLIB="%{__global_ldflags}" pushd contrib/halog %{__make} ${halog} OPTIMIZE="%{optflags} %{build_ldflags}" @@ -133,6 +133,9 @@ exit 0 %{_mandir}/man1/* %changelog +* Mon May 17 2021 Ryan O'Hara - 2.4.0-2 +- Add USE_PROMEX=1 for prometheus exporter + * Mon May 17 2021 Ryan O'Hara - 2.4.0-1 - Update to 2.4.0 (#1960565)