mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
fish.spec: group conditionals to correctly detect Fedora
Fixes test failures due to glibc-langpack-en not being installed.
This commit is contained in:
parent
5a8685b26c
commit
21f2628c06
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user