From 4a082768066b2b3ac46d6aaa2f6954be6e021d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 14 Apr 2020 12:07:03 +0200 Subject: RPM: various updates for TDE 14.0.8 --- redhat/main/tdenetwork/tdenetwork.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'redhat/main/tdenetwork') diff --git a/redhat/main/tdenetwork/tdenetwork.spec b/redhat/main/tdenetwork/tdenetwork.spec index afbcd44d4..45323afe3 100644 --- a/redhat/main/tdenetwork/tdenetwork.spec +++ b/redhat/main/tdenetwork/tdenetwork.spec @@ -98,6 +98,20 @@ BuildRequires: brp-check-trinity PreReq: permissions %endif +# AVAHI support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_avahi 1 +BuildRequires: libavahi-tqt-devel >= 1:0.6.30 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}avahi-client-devel +Requires: %{_lib}avahi-client3 +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: avahi-devel +Requires: avahi +%endif +%endif + # OPENSSL support BuildRequires: openssl-devel -- cgit v1.2.1