From 68f35c888b6e5b62ce53bff50d701a23df1c0e41 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Thu, 5 Apr 2018 14:48:31 +0200 Subject: [PATCH] Do not run optional test on RHEL --- perl-File-MimeInfo.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-File-MimeInfo.spec b/perl-File-MimeInfo.spec index 572d7d1..2ae2635 100644 --- a/perl-File-MimeInfo.spec +++ b/perl-File-MimeInfo.spec @@ -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}