Skip to content
Permalink
Browse files

Fix dangerous distro version checks in SPEC

  • Loading branch information...
arogge committed Oct 9, 2019
1 parent 681d9b8 commit 19c81dca83e1ca408d983aa4060ad552e2a087ca
Showing with 3 additions and 3 deletions.
  1. +3 −3 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

0 comments on commit 19c81dc

Please sign in to comment.
You can’t perform that action at this time.