0.4229 bump
This commit is contained in:
parent
7c505ab394
commit
ec7a14a788
1
.gitignore
vendored
1
.gitignore
vendored
@ -26,3 +26,4 @@ Module-Build-0.2808.tar.gz
|
||||
/Module-Build-0.4220.tar.gz
|
||||
/Module-Build-0.4222.tar.gz
|
||||
/Module-Build-0.4224.tar.gz
|
||||
/Module-Build-0.4229.tar.gz
|
||||
|
@ -49,19 +49,19 @@ diff --git a/lib/Module/Build/Base.pm b/lib/Module/Build/Base.pm
|
||||
index 984810a..a29c664 100644
|
||||
--- a/lib/Module/Build/Base.pm
|
||||
+++ b/lib/Module/Build/Base.pm
|
||||
@@ -1517,7 +1517,11 @@ sub auto_require {
|
||||
# If set, we need ExtUtils::CBuilder (and a compiler)
|
||||
my $xs_files = $self->find_xs_files;
|
||||
if ( ! defined $p->{needs_compiler} ) {
|
||||
- $self->needs_compiler( keys %$xs_files || defined $self->c_source );
|
||||
+ $self->needs_compiler( keys %$xs_files ||
|
||||
+ ( defined $self->c_source &&
|
||||
+ ( ref($self->c_source) ne 'ARRAY' || @{$self->c_source} )
|
||||
+ )
|
||||
+ );
|
||||
@@ -1520,7 +1520,11 @@ sub auto_require {
|
||||
if ( $self->pureperl_only && $self->allow_pureperl ) {
|
||||
$self->needs_compiler( 0 );
|
||||
} else {
|
||||
- $self->needs_compiler( keys %$xs_files || defined $self->c_source );
|
||||
+ $self->needs_compiler( keys %$xs_files ||
|
||||
+ ( defined $self->c_source &&
|
||||
+ ( ref($self->c_source) ne 'ARRAY' || @{$self->c_source} )
|
||||
+ )
|
||||
+ );
|
||||
}
|
||||
}
|
||||
if ($self->needs_compiler) {
|
||||
$self->_add_prereq('build_requires', 'ExtUtils::CBuilder', 0);
|
||||
diff --git a/t/properties/needs_compiler.t b/t/properties/needs_compiler.t
|
||||
index f616dfc..c76d38f 100644
|
||||
--- a/t/properties/needs_compiler.t
|
||||
|
@ -1,5 +1,5 @@
|
||||
%global cpan_version_major 0.42
|
||||
%global cpan_version_minor 24
|
||||
%global cpan_version_minor 29
|
||||
%global cpan_version %{cpan_version_major}%{?cpan_version_minor}
|
||||
|
||||
# Run optional tests
|
||||
@ -8,7 +8,7 @@
|
||||
Name: perl-Module-Build
|
||||
Epoch: 2
|
||||
Version: %{cpan_version_major}%{?cpan_version_minor:.%cpan_version_minor}
|
||||
Release: 11%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Build and install Perl modules
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Module-Build
|
||||
@ -155,6 +155,9 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 16 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.29-1
|
||||
- 0.4229 bump
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.24-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (Module-Build-0.4224.tar.gz) = c08e84c542a882aa16a682a81cbb7a4860774a3f6a0ec2e720ba9e9bcea76dab331999fee86bf8b92edc08560d7cef4a7c2dfa4e626ab9b22da965e715af531f
|
||||
SHA512 (Module-Build-0.4229.tar.gz) = 51e0d73cecf450062121c3223b1a4c6f8a8c260fc2345d1c1a5e13ddcbd2b7bc2578411ac254420e27720b9e00a8efc9a9daa3159e9cba5338a188734b35c738
|
||||
|
Loading…
Reference in New Issue
Block a user