From d97df26110f7c6f1e3b9582de3035814df460db6 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 8 Feb 2017 14:40:21 +0100 Subject: [PATCH] Align again the SPEC file for the various releases --- bacula.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bacula.spec b/bacula.spec index 7f85e3f..dd7fa3b 100644 --- a/bacula.spec +++ b/bacula.spec @@ -63,12 +63,17 @@ BuildRequires: libcap-devel BuildRequires: lzo-devel BuildRequires: mysql-devel BuildRequires: ncurses-devel -BuildRequires: compat-openssl10-devel BuildRequires: postgresql-devel BuildRequires: readline-devel BuildRequires: sqlite-devel BuildRequires: zlib-devel +%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 +BuildRequires: compat-openssl10-devel +%else +BuildRequires: openssl-devel +%endif + %if 0%{?fedora} || 0%{?rhel} >= 6 BuildRequires: qt4-devel >= 4.6.2 BuildRequires: tcp_wrappers-devel