Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix dangerous distro version checks in SPEC
  • Loading branch information
arogge committed Oct 9, 2019
1 parent 681d9b8 commit 19c81dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/platforms/packaging/bareos.spec
Expand Up @@ -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
Expand Down

0 comments on commit 19c81dc

Please sign in to comment.