Do not run optional test on RHEL

This commit is contained in:
Jitka Plesnikova 2018-04-05 14:48:31 +02:00
parent c393e125fa
commit 68f35c888b
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
# Run optional tests
%if ! (0%{?rhel})
%{bcond_without perl_File_MimeInfo_enables_optional_test}
%else
%{bcond_with perl_File_MimeInfo_enables_optional_test}
%endif
# Require shared-mime-info to suppress warnings about missing
# /usr/share/mime/globs
%{bcond_without perl_File_MimeInfo_enables_shared_mime_info}