Disable %check for RHEL > 8 and ELN

The tests are pulling the fish package (which no one wants to maintain)
into RHEL.

Signed-off-by: Michal Fabik <mfabik@redhat.com>
This commit is contained in:
Michal Fabik 2021-02-02 16:28:57 +01:00
parent f4153a83e7
commit ae9ca821c7

View File

@ -1,4 +1,9 @@
# Disable check to avoid pulling unwanted package (fish) into RHEL 9
%if 0%{?rhel} >= 9 && !0%{?epel}
%bcond_with check
%else
%bcond_without check %bcond_without check
%endif
Name: python-argcomplete Name: python-argcomplete
Summary: Bash tab completion for argparse Summary: Bash tab completion for argparse