fish.spec: group conditionals to correctly detect Fedora

Fixes test failures due to glibc-langpack-en not being installed.
This commit is contained in:
David Adam 2020-02-06 13:15:49 +08:00
parent 5a8685b26c
commit 21f2628c06

View File

@ -26,7 +26,7 @@ BuildRequires: gcc48 gcc48-c++ python-argparse
%endif %endif
# for tests # for tests
%if 0%{?fedora} || 0%{?rhel} && 0%{?rhel} > 7 %if 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} > 7 )
# Need the en_US.utf-8 locale at a minimum # Need the en_US.utf-8 locale at a minimum
BuildRequires: glibc-langpack-en BuildRequires: glibc-langpack-en
%endif %endif