Disable optional tests on RHEL

This commit is contained in:
Jitka Plesnikova 2020-12-11 14:16:39 +01:00
parent c4bda225c3
commit 71e1c2cf5a

View File

@ -3,12 +3,16 @@
%global cpan_version %{cpan_version_major}%{?cpan_version_minor}
# Run optional tests
%if ! (0%{?rhel})
%bcond_without perl_Module_Build_enables_optional_test
%else
%bcond_with perl_Module_Build_enables_optional_test
%endif
Name: perl-Module-Build
Epoch: 2
Version: %{cpan_version_major}%{?cpan_version_minor:.%cpan_version_minor}
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Build and install Perl modules
License: GPL+ or Artistic
URL: https://metacpan.org/release/Module-Build
@ -156,6 +160,9 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
%{_mandir}/man3/*
%changelog
* Fri Dec 11 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.31-6
- Disable optional tests on RHEL
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.31-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild