From 89b0afbe8b601f7cbbe1af7bd83e6bb00631bbcc Mon Sep 17 00:00:00 2001 From: Jan ONDREJ (SAL) Date: Mar 11 2021 11:48:03 +0000 Subject: Fix build for EPEL7. --- diff --git a/nrpe.spec b/nrpe.spec index b4ff0b5..ca09e1f 100644 --- a/nrpe.spec +++ b/nrpe.spec @@ -11,9 +11,9 @@ Name: nrpe Version: 4.0.3 %if 0%{?fromgit} -Release: 5%{?fromgit:.%{commdate}git%{shortcommit}}%{?dist} +Release: 6%{?fromgit:.%{commdate}git%{shortcommit}}%{?dist} %else -Release: 5%{?dist} +Release: 6%{?dist} %endif Summary: Host/service/network monitoring agent for Nagios @@ -45,7 +45,7 @@ BuildRequires: checkpolicy, selinux-policy-devel BuildRequires: systemd-units %endif -%if 0%{?fedora} < 28 || 0%{?rhel} > 5 +%if 0%{?fedora} < 28 && 0%{?rhel} < 8 BuildRequires: tcp_wrappers-devel %endif @@ -270,6 +270,9 @@ fi %endif %changelog +* Thu Mar 11 2021 Ján ONDREJ (SAL) - 4.0.3-6 +- Fix build for EPEL7. + * Tue Mar 09 2021 Ján ONDREJ (SAL) - 4.0.3-5 - Wait for network-online.target (bz#1898469). - Apply /etc/sysconfig/nrpe settings (bz#1806659).