From 19c81dca83e1ca408d983aa4060ad552e2a087ca Mon Sep 17 00:00:00 2001 From: Andreas Rogge Date: Wed, 9 Oct 2019 16:08:28 +0200 Subject: [PATCH] Fix dangerous distro version checks in SPEC --- core/platforms/packaging/bareos.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/platforms/packaging/bareos.spec b/core/platforms/packaging/bareos.spec index 10d26d3aa8f..b3a532244df 100644 --- a/core/platforms/packaging/bareos.spec +++ b/core/platforms/packaging/bareos.spec @@ -226,10 +226,10 @@ BuildRequires: mtx BuildRequires: libqt5-qtbase-devel %else -%if 0%{?centos_version} <= 700 || 0%{?rhel_version} <= 700 -BuildRequires: qt-devel -%else +%if 0%{?centos_version} > 700 || 0%{?rhel_version} > 700 || 0%{?fedora} >= 29 BuildRequires: qt5-qtbase-devel +%else +BuildRequires: qt-devel %endif %endif