From f7d087a02c609bfe80c6d4aec65d052399a8c68c Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 14 Oct 2018 17:16:31 +0100 Subject: [PATCH] add el7 conditionals, minor deps reordering --- mosquitto.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mosquitto.spec b/mosquitto.spec index 5cb43da..3eaf74b 100644 --- a/mosquitto.spec +++ b/mosquitto.spec @@ -7,13 +7,16 @@ License: BSD URL: http://mosquitto.org/ Source0: http://mosquitto.org/files/source/%{name}-%{version}.tar.gz -BuildRequires: openssl-devel -BuildRequires: systemd-devel -BuildRequires: uthash-devel BuildRequires: c-ares-devel +BuildRequires: gcc-c++ BuildRequires: libuuid-devel BuildRequires: libwebsockets-devel -BuildRequires: gcc-c++ +BuildRequires: openssl-devel +BuildRequires: systemd-devel +%if 0%{?rhel} == 7 +BuildRequires: tcp_wrappers-libs +%endif +BuildRequires: uthash-devel Requires(pre): shadow-utils Requires(post): systemd