Compare commits
63 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a3aa075ad2 | ||
|
987b364d41 | ||
|
0cfd48ce8d | ||
|
44420066ef | ||
|
cd5b9241d8 | ||
|
36975517ab | ||
|
26fe4c1bc5 | ||
|
fac2e35c6a | ||
|
0f478f86c2 | ||
|
71e1c2cf5a | ||
|
c4bda225c3 | ||
|
8c9c59f3d0 | ||
|
b0741f1551 | ||
|
a4e2b82b10 | ||
|
69f0db8cee | ||
|
78b3ca7f16 | ||
|
640655c2b1 | ||
|
8a8e411694 | ||
|
ec7a14a788 | ||
|
7c505ab394 | ||
|
f95edb0275 | ||
|
dcc09e3867 | ||
|
06e9d001a4 | ||
|
57605764b0 | ||
|
6036a8f3df | ||
|
5f3f7cc560 | ||
|
8182aa3546 | ||
|
27620a0ff7 | ||
|
9a1e89eac3 | ||
|
5eecfdbc54 | ||
|
d6cba179ca | ||
|
ce44cf9391 | ||
|
88ec246165 | ||
|
b0ed170ca9 | ||
|
3af1d23860 | ||
|
63b70782aa | ||
|
84ca960bf4 | ||
|
1dd86b5b92 | ||
|
e0c8e3d403 | ||
|
49e6ebfdb4 | ||
|
68a39743a4 | ||
|
2806421973 | ||
|
2509c02483 | ||
|
6ff0399158 | ||
|
d5ffdb4360 | ||
|
9d17ef9a21 | ||
|
1eb9b0e8d7 | ||
|
fc9106206d | ||
|
fd6fcf71af | ||
|
57bc2492c2 | ||
|
df3850a281 | ||
|
f78c4fdb44 | ||
|
5c752b30b8 | ||
|
651725c652 | ||
|
5a8ec1b6fe | ||
|
cfab8d02e7 | ||
|
016f1b1745 | ||
|
94927a8db9 | ||
|
44eb50cd1f | ||
|
319d464270 | ||
|
d58fb49439 | ||
|
6cfb7504a6 | ||
|
7842d063cf |
19
.gitignore
vendored
19
.gitignore
vendored
@ -9,3 +9,22 @@ Module-Build-0.2808.tar.gz
|
|||||||
/Module-Build-0.4004.tar.gz
|
/Module-Build-0.4004.tar.gz
|
||||||
/Module-Build-0.4005.tar.gz
|
/Module-Build-0.4005.tar.gz
|
||||||
/Module-Build-0.4007.tar.gz
|
/Module-Build-0.4007.tar.gz
|
||||||
|
/Module-Build-0.4008.tar.gz
|
||||||
|
/Module-Build-0.4201.tar.gz
|
||||||
|
/Module-Build-0.4202.tar.gz
|
||||||
|
/Module-Build-0.4203.tar.gz
|
||||||
|
/Module-Build-0.4204.tar.gz
|
||||||
|
/Module-Build-0.4205.tar.gz
|
||||||
|
/Module-Build-0.4206.tar.gz
|
||||||
|
/Module-Build-0.4208.tar.gz
|
||||||
|
/Module-Build-0.4210.tar.gz
|
||||||
|
/Module-Build-0.4211.tar.gz
|
||||||
|
/Module-Build-0.4212.tar.gz
|
||||||
|
/Module-Build-0.4214.tar.gz
|
||||||
|
/Module-Build-0.4216.tar.gz
|
||||||
|
/Module-Build-0.4218.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
|
||||||
|
/Module-Build-0.4231.tar.gz
|
||||||
|
@ -0,0 +1,145 @@
|
|||||||
|
From 6b096ea5670ed291abac632b296222b56d9fadb4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||||
|
Date: Thu, 1 Mar 2018 14:44:40 +0100
|
||||||
|
Subject: [PATCH] Do not need a compiler if c_source is an empty list
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
c_source used to be string, then it allowed a reference to an array.
|
||||||
|
But in case the array was empty, auto_require() still enabled
|
||||||
|
needs_compiler property and thus implied probing a compiler and
|
||||||
|
a failure if none was available.
|
||||||
|
|
||||||
|
Minilla generates these Build.PLs for pure-Perl distributions. See
|
||||||
|
KAZUHO/Server-Starter-0.34.
|
||||||
|
|
||||||
|
This patch makes Module::Build not require C compiler for
|
||||||
|
c_source = [].
|
||||||
|
|
||||||
|
Petr Písař: Ported to 0.4224.
|
||||||
|
|
||||||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||||
|
---
|
||||||
|
lib/Module/Build/API.pod | 8 ++++----
|
||||||
|
lib/Module/Build/Base.pm | 6 +++++-
|
||||||
|
t/properties/needs_compiler.t | 46 ++++++++++++++++++++++++++++++++++++++++---
|
||||||
|
3 files changed, 52 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/lib/Module/Build/API.pod b/lib/Module/Build/API.pod
|
||||||
|
index cd2021a..c9be539 100644
|
||||||
|
--- a/lib/Module/Build/API.pod
|
||||||
|
+++ b/lib/Module/Build/API.pod
|
||||||
|
@@ -209,10 +209,10 @@ created by Module::Build.
|
||||||
|
|
||||||
|
[version 0.04]
|
||||||
|
|
||||||
|
-An optional C<c_source> argument specifies a directory which contains
|
||||||
|
-C source files that the rest of the build may depend on. Any C<.c>
|
||||||
|
-files in the directory will be compiled to object files. The
|
||||||
|
-directory will be added to the search path during the compilation and
|
||||||
|
+An optional C<c_source> argument specifies a directory or a reference to array
|
||||||
|
+of directories which contain C source files that the rest of the build may
|
||||||
|
+depend on. Any C<.c> files in the directory will be compiled to object files.
|
||||||
|
+The directory will be added to the search path during the compilation and
|
||||||
|
linking phases of any C or XS files.
|
||||||
|
|
||||||
|
[version 0.3604]
|
||||||
|
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
|
||||||
|
@@ -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) {
|
||||||
|
diff --git a/t/properties/needs_compiler.t b/t/properties/needs_compiler.t
|
||||||
|
index f616dfc..c76d38f 100644
|
||||||
|
--- a/t/properties/needs_compiler.t
|
||||||
|
+++ b/t/properties/needs_compiler.t
|
||||||
|
@@ -5,7 +5,7 @@ use lib 't/lib';
|
||||||
|
use MBTest;
|
||||||
|
use DistGen;
|
||||||
|
|
||||||
|
-plan tests => 19;
|
||||||
|
+plan tests => 27;
|
||||||
|
|
||||||
|
# Ensure any Module::Build modules are loaded from correct directory
|
||||||
|
blib_load('Module::Build');
|
||||||
|
@@ -24,7 +24,7 @@ ok( ! exists $mb->{properties}{build_requires}{'ExtUtils::CBuilder'},
|
||||||
|
);
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------------#
|
||||||
|
-# try with c_source
|
||||||
|
+# try with c_source as a string
|
||||||
|
#--------------------------------------------------------------------------#
|
||||||
|
$dist->change_build_pl({
|
||||||
|
module_name => $dist->name,
|
||||||
|
@@ -34,7 +34,7 @@ $dist->change_build_pl({
|
||||||
|
$dist->regen;
|
||||||
|
stderr_of(sub {
|
||||||
|
ok( $mb = $dist->new_from_context,
|
||||||
|
- "Build.PL with c_source"
|
||||||
|
+ "Build.PL with string c_source"
|
||||||
|
);
|
||||||
|
});
|
||||||
|
is( $mb->c_source, 'src', "c_source is set" );
|
||||||
|
@@ -44,6 +44,46 @@ ok( exists $mb->{properties}{build_requires}{'ExtUtils::CBuilder'},
|
||||||
|
);
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------------#
|
||||||
|
+# try with c_source as an array
|
||||||
|
+#--------------------------------------------------------------------------#
|
||||||
|
+$dist->change_build_pl({
|
||||||
|
+ module_name => $dist->name,
|
||||||
|
+ license => 'perl',
|
||||||
|
+ c_source => ['src'],
|
||||||
|
+});
|
||||||
|
+$dist->regen;
|
||||||
|
+stderr_of(sub {
|
||||||
|
+ ok( $mb = $dist->new_from_context,
|
||||||
|
+ "Build.PL with non-empty array c_source"
|
||||||
|
+ );
|
||||||
|
+});
|
||||||
|
+is_deeply( $mb->c_source, ['src'], "c_source is set" );
|
||||||
|
+ok( $mb->needs_compiler, "needs_compiler is true" );
|
||||||
|
+ok( exists $mb->{properties}{build_requires}{'ExtUtils::CBuilder'},
|
||||||
|
+ "ExtUtils::CBuilder was added to build_requires"
|
||||||
|
+);
|
||||||
|
+
|
||||||
|
+#--------------------------------------------------------------------------#
|
||||||
|
+# try with c_source as an empty array
|
||||||
|
+#--------------------------------------------------------------------------#
|
||||||
|
+$dist->change_build_pl({
|
||||||
|
+ module_name => $dist->name,
|
||||||
|
+ license => 'perl',
|
||||||
|
+ c_source => [],
|
||||||
|
+});
|
||||||
|
+$dist->regen;
|
||||||
|
+stderr_of(sub {
|
||||||
|
+ ok( $mb = $dist->new_from_context,
|
||||||
|
+ "Build.PL with empty array c_source"
|
||||||
|
+ );
|
||||||
|
+});
|
||||||
|
+is_deeply( $mb->c_source, [], "c_source is set" );
|
||||||
|
+ok( ! $mb->needs_compiler, "needs_compiler is false" );
|
||||||
|
+ok( ! exists $mb->{properties}{build_requires}{'ExtUtils::CBuilder'},
|
||||||
|
+ "ExtUtils::CBuilder is not in build_requires"
|
||||||
|
+);
|
||||||
|
+
|
||||||
|
+#--------------------------------------------------------------------------#
|
||||||
|
# try with xs files
|
||||||
|
#--------------------------------------------------------------------------#
|
||||||
|
$dist = DistGen->new(dir => 'MBTest', xs => 1);
|
||||||
|
--
|
||||||
|
2.13.6
|
||||||
|
|
@ -0,0 +1,39 @@
|
|||||||
|
From 043add527dd6bc05d5ef5750839ab21c2fdab9e6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||||
|
Date: Mon, 28 Mar 2022 11:18:38 +0200
|
||||||
|
Subject: [PATCH] Do not die on missing ExtUtils::CBuilder in have_c_compiler()
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
In Fedora, ExtUtils::CBuilder is optional to allow installing perl
|
||||||
|
without gcc (bug #1547165). Module::Build::have_c_compiler() uses
|
||||||
|
ExtUtils::CBuilder to detect a presence of a C compiler. If
|
||||||
|
ExtUtils::CBuilder was not installed, have_c_compiler() died instead
|
||||||
|
of returning a false value.
|
||||||
|
|
||||||
|
This error manifested in perl-Alien-Base-ModuleBuild tests. This patch
|
||||||
|
changes have_c_compiler() to return true if ExtUtils::CBuilder is not
|
||||||
|
available.
|
||||||
|
|
||||||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||||
|
---
|
||||||
|
lib/Module/Build/Base.pm | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/lib/Module/Build/Base.pm b/lib/Module/Build/Base.pm
|
||||||
|
index 1352fcf..4e0f843 100644
|
||||||
|
--- a/lib/Module/Build/Base.pm
|
||||||
|
+++ b/lib/Module/Build/Base.pm
|
||||||
|
@@ -5315,7 +5315,7 @@ sub have_c_compiler {
|
||||||
|
return $p->{_have_c_compiler} if defined $p->{_have_c_compiler};
|
||||||
|
|
||||||
|
$self->log_verbose("Checking if compiler tools configured... ");
|
||||||
|
- my $b = $self->cbuilder;
|
||||||
|
+ my $b = eval { $self->cbuilder };
|
||||||
|
my $have = $b && eval { $b->have_compiler };
|
||||||
|
$self->log_verbose($have ? "ok.\n" : "failed.\n");
|
||||||
|
return $p->{_have_c_compiler} = $have;
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
@ -1,31 +1,45 @@
|
|||||||
%global cpan_version_major 0.40
|
%global cpan_version_major 0.42
|
||||||
%global cpan_version_minor 07
|
%global cpan_version_minor 31
|
||||||
%global cpan_version %{cpan_version_major}%{?cpan_version_minor}
|
%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
|
Name: perl-Module-Build
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: %{cpan_version_major}%{?cpan_version_minor:.%cpan_version_minor}
|
Version: %{cpan_version_major}%{?cpan_version_minor:.%cpan_version_minor}
|
||||||
Release: 3%{?dist}
|
Release: 15%{?dist}
|
||||||
Summary: Build and install Perl modules
|
Summary: Build and install Perl modules
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
URL: https://metacpan.org/release/Module-Build
|
||||||
URL: http://search.cpan.org/dist/Module-Build/
|
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-%{cpan_version}.tar.gz
|
||||||
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-%{cpan_version}.tar.gz
|
# Do not require a compiler if c_source is an empty list, bug #1547165,
|
||||||
|
# CPAN RT#124625,
|
||||||
|
# <https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org/message/UWQ6SDRKNTX6SM6RBJ35CDBGRCV3ZSKP/>
|
||||||
|
Patch0: Module-Build-0.4224-Do-not-need-a-compiler-if-c_source-is-an-empty-list.patch
|
||||||
|
# Handle missing ExtUtils::CBuilder as a missing compiler, bug #1547165.
|
||||||
|
Patch1: Module-Build-0.4231-Do-not-die-on-missing-ExtUtils-CBuilder-in-have_c_co.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(Archive::Tar)
|
BuildRequires: perl(Archive::Tar)
|
||||||
BuildRequires: perl(AutoSplit)
|
BuildRequires: perl(AutoSplit)
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(blib)
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Config)
|
BuildRequires: perl(Config)
|
||||||
BuildRequires: perl(CPAN::Meta) >= 2.110420
|
BuildRequires: perl(CPAN::Meta) >= 2.142060
|
||||||
|
BuildRequires: perl(CPAN::Meta::Converter) >= 2.141170
|
||||||
|
BuildRequires: perl(CPAN::Meta::Merge)
|
||||||
BuildRequires: perl(CPAN::Meta::YAML) >= 0.003
|
BuildRequires: perl(CPAN::Meta::YAML) >= 0.003
|
||||||
BuildRequires: perl(Cwd)
|
BuildRequires: perl(Cwd)
|
||||||
BuildRequires: perl(Data::Dumper)
|
BuildRequires: perl(Data::Dumper)
|
||||||
%if 0%(perl -e 'print $] > 5.019')
|
|
||||||
BuildRequires: perl(deprecate)
|
|
||||||
%endif
|
|
||||||
BuildRequires: perl(DynaLoader)
|
BuildRequires: perl(DynaLoader)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
||||||
@ -40,27 +54,31 @@ BuildRequires: perl(File::Compare)
|
|||||||
BuildRequires: perl(File::Copy)
|
BuildRequires: perl(File::Copy)
|
||||||
BuildRequires: perl(File::Find)
|
BuildRequires: perl(File::Find)
|
||||||
BuildRequires: perl(File::Path)
|
BuildRequires: perl(File::Path)
|
||||||
BuildRequires: perl(File::ShareDir)
|
|
||||||
BuildRequires: perl(File::Spec) >= 0.82
|
BuildRequires: perl(File::Spec) >= 0.82
|
||||||
BuildRequires: perl(File::Spec::Functions)
|
BuildRequires: perl(File::Spec::Functions)
|
||||||
BuildRequires: perl(File::Temp) >= 0.15
|
BuildRequires: perl(File::Temp) >= 0.15
|
||||||
BuildRequires: perl(Getopt::Long)
|
BuildRequires: perl(Getopt::Long)
|
||||||
BuildRequires: perl(if)
|
BuildRequires: perl(inc::latest)
|
||||||
BuildRequires: perl(lib)
|
BuildRequires: perl(lib)
|
||||||
# perl(Module::Build) is loaded from ./lib
|
# perl(Module::Build) is loaded from ./lib
|
||||||
BuildRequires: perl(Module::Metadata) >= 1.000002
|
BuildRequires: perl(Module::Metadata) >= 1.000002
|
||||||
BuildRequires: perl(Parse::CPAN::Meta)
|
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4401
|
||||||
BuildRequires: perl(Perl::OSType) >= 1
|
BuildRequires: perl(Perl::OSType) >= 1
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
# Optional tests:
|
# Optional tests:
|
||||||
%if !%{defined perl_bootstrap}
|
%if !%{defined perl_bootstrap}
|
||||||
|
%if %{with perl_Module_Build_enables_optional_test}
|
||||||
BuildRequires: perl(Archive::Zip)
|
BuildRequires: perl(Archive::Zip)
|
||||||
|
BuildRequires: perl(File::ShareDir) >= 1.00
|
||||||
BuildRequires: perl(PAR::Dist)
|
BuildRequires: perl(PAR::Dist)
|
||||||
%if 0%{?fedora} || 0%{?rhel} < 7
|
%if 0%{?fedora} || 0%{?rhel} < 7
|
||||||
BuildRequires: perl(Pod::Readme)
|
BuildRequires: perl(Pod::Readme)
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl(Test::Harness) >= 3.16
|
%endif
|
||||||
|
BuildRequires: perl(TAP::Harness)
|
||||||
|
BuildRequires: perl(TAP::Harness::Env)
|
||||||
|
BuildRequires: perl(Test::Harness) >= 3.29
|
||||||
BuildRequires: perl(Test::More) >= 0.49
|
BuildRequires: perl(Test::More) >= 0.49
|
||||||
BuildRequires: perl(Text::ParseWords)
|
BuildRequires: perl(Text::ParseWords)
|
||||||
BuildRequires: perl(utf8)
|
BuildRequires: perl(utf8)
|
||||||
@ -68,21 +86,40 @@ BuildRequires: perl(vars)
|
|||||||
BuildRequires: perl(version) >= 0.87
|
BuildRequires: perl(version) >= 0.87
|
||||||
BuildRequires: perl(warnings)
|
BuildRequires: perl(warnings)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(CPAN::Meta) >= 2.110420
|
Requires: perl(CPAN::Meta) >= 2.142060
|
||||||
Requires: perl(CPAN::Meta::YAML) >= 0.003
|
Requires: perl(CPAN::Meta::Converter) >= 2.141170
|
||||||
Requires: perl(ExtUtils::CBuilder) >= 0.27
|
Requires: perl(CPAN::Meta::Merge)
|
||||||
|
# Do not hard-require ExtUtils::CBuilder to allow installing Module::Build
|
||||||
|
# without gcc, bug #1547165. Module::Build users have to require
|
||||||
|
# ExtUtils::CBuilder explicitly according to "XS Extensions" section in
|
||||||
|
# Module::Build::Authoring POD.
|
||||||
|
Recommends: perl(ExtUtils::CBuilder) >= 0.27
|
||||||
Requires: perl(ExtUtils::Install) >= 0.3
|
Requires: perl(ExtUtils::Install) >= 0.3
|
||||||
Requires: perl(ExtUtils::Manifest) >= 1.54
|
Requires: perl(ExtUtils::Manifest) >= 1.54
|
||||||
Requires: perl(ExtUtils::Mkbootstrap)
|
Requires: perl(ExtUtils::Mkbootstrap)
|
||||||
Requires: perl(ExtUtils::ParseXS) >= 2.21
|
Requires: perl(ExtUtils::ParseXS) >= 2.21
|
||||||
|
Requires: perl(inc::latest)
|
||||||
Requires: perl(Module::Metadata) >= 1.000002
|
Requires: perl(Module::Metadata) >= 1.000002
|
||||||
# Keep PAR support optional (PAR::Dist)
|
# Keep PAR support optional (PAR::Dist)
|
||||||
Requires: perl(Perl::OSType) >= 1
|
Requires: perl(Perl::OSType) >= 1
|
||||||
|
Requires: perl(TAP::Harness::Env)
|
||||||
Requires: perl(Test::Harness)
|
Requires: perl(Test::Harness)
|
||||||
|
%if !%{defined perl_bootstrap}
|
||||||
|
# Optional run-time needed for Software::License license identifier,
|
||||||
|
# bug #1152319
|
||||||
|
Requires: perl(Software::License)
|
||||||
|
%endif
|
||||||
# Optional run-time needed for generating documentation from POD:
|
# Optional run-time needed for generating documentation from POD:
|
||||||
Requires: perl(Pod::Html)
|
Requires: perl(Pod::Html)
|
||||||
Requires: perl(Pod::Man) >= 2.17
|
Requires: perl(Pod::Man) >= 2.17
|
||||||
Requires: perl(Pod::Text)
|
Requires: perl(Pod::Text)
|
||||||
|
# Run-time for generated Build scripts from Build.PLs:
|
||||||
|
# Those are already found by dependency generator. Just make sure they
|
||||||
|
# present.
|
||||||
|
# Cwd
|
||||||
|
# File::Basename
|
||||||
|
# File::Spec
|
||||||
|
# strict
|
||||||
|
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
# Remove under-specified dependencies
|
# Remove under-specified dependencies
|
||||||
@ -101,7 +138,7 @@ only prerequisites are modules that are included with perl 5.6.0, and it
|
|||||||
works fine on perl 5.005 if you can install a few additional modules.
|
works fine on perl 5.005 if you can install a few additional modules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Module-Build-%{cpan_version}
|
%autosetup -p1 -n Module-Build-%{cpan_version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Build.PL installdirs=vendor
|
perl Build.PL installdirs=vendor
|
||||||
@ -116,13 +153,191 @@ rm t/signature.t
|
|||||||
LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
|
LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes contrib LICENSE README
|
%license LICENSE
|
||||||
|
%doc Changes contrib README
|
||||||
%{_bindir}/config_data
|
%{_bindir}/config_data
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.31-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.31-14
|
||||||
|
- Perl 5.36 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.31-13
|
||||||
|
- Perl 5.36 rebuild
|
||||||
|
|
||||||
|
* Mon Mar 28 2022 Petr Pisar <ppisar@redhat.com> - 2:0.42.31-12
|
||||||
|
- Handle missing ExtUtils::CBuilder as a missing compiler (bug #1547165)
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.31-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.31-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.31-9
|
||||||
|
- Perl 5.34 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.31-8
|
||||||
|
- Perl 5.34 rebuild
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.31-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.31-4
|
||||||
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.31-3
|
||||||
|
- Perl 5.32 rebuild
|
||||||
|
|
||||||
|
* Tue Mar 10 2020 Paul Howarth <paul@city-fan.org> - 2:0.42.31-2
|
||||||
|
- BR: perl(blib), needed for t/xs.t
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.31-1
|
||||||
|
- 0.4231 bump
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.29-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.29-3
|
||||||
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.29-2
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.24-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.24-9
|
||||||
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.24-8
|
||||||
|
- Perl 5.28 rebuild
|
||||||
|
|
||||||
|
* Thu Mar 01 2018 Petr Pisar <ppisar@redhat.com> - 2:0.42.24-7
|
||||||
|
- Do not require a compiler if c_source is an empty list (bug #1547165)
|
||||||
|
|
||||||
|
* Fri Feb 23 2018 Petr Pisar <ppisar@redhat.com> - 2:0.42.24-6
|
||||||
|
- Do not hard-require ExtUtils::CBuilder (bug #1547165)
|
||||||
|
|
||||||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.24-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.24-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.24-3
|
||||||
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.24-2
|
||||||
|
- Perl 5.26 rebuild
|
||||||
|
|
||||||
|
* Wed May 31 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.24-1
|
||||||
|
- 0.4224 bump
|
||||||
|
|
||||||
|
* Fri Mar 31 2017 Petr Pisar <ppisar@redhat.com> - 2:0.42.22-1
|
||||||
|
- 0.4222 bump
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.20-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Aug 29 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.20-1
|
||||||
|
- 0.4220 bump
|
||||||
|
|
||||||
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.18-3
|
||||||
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.18-2
|
||||||
|
- Perl 5.24 rebuild
|
||||||
|
|
||||||
|
* Tue Apr 26 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.18-1
|
||||||
|
- 0.4218 bump
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.16-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 20 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.16-1
|
||||||
|
- 0.4216 bump
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.42.14-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 12 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.14-1
|
||||||
|
- 0.4214 bump
|
||||||
|
|
||||||
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.12-3
|
||||||
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.12-2
|
||||||
|
- Perl 5.22 rebuild
|
||||||
|
|
||||||
|
* Mon May 18 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.12-1
|
||||||
|
- 0.4212 bump
|
||||||
|
|
||||||
|
* Fri Jan 30 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.11-1
|
||||||
|
- 0.4211 bump
|
||||||
|
|
||||||
|
* Fri Jan 30 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.10-4
|
||||||
|
- Sub-package perl-inc-latest
|
||||||
|
|
||||||
|
* Thu Dec 11 2014 Petr Pisar <ppisar@redhat.com> - 2:0.42.10-3
|
||||||
|
- Disable File::ShareDir optional tests when bootstrapping
|
||||||
|
|
||||||
|
* Wed Oct 15 2014 Petr Pisar <ppisar@redhat.com> - 2:0.42.10-2
|
||||||
|
- Require Software::License to recognize more license identifiers (bug #1152319)
|
||||||
|
|
||||||
|
* Wed Sep 10 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.10-1
|
||||||
|
- 0.4210 bump
|
||||||
|
|
||||||
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.08-3
|
||||||
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.08-2
|
||||||
|
- Perl 5.20 rebuild
|
||||||
|
|
||||||
|
* Tue Aug 19 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.42.08-1
|
||||||
|
- 0.4208 bump
|
||||||
|
|
||||||
|
* Wed Jul 16 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.42.06-1
|
||||||
|
- 0.4206 bump
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.42.05-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 13 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.05-1
|
||||||
|
- 0.4205 bump
|
||||||
|
|
||||||
|
* Wed Jan 15 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.04-1
|
||||||
|
- 0.4204 bump
|
||||||
|
|
||||||
|
* Thu Nov 28 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.03-1
|
||||||
|
- 0.4203 bump
|
||||||
|
|
||||||
|
* Mon Nov 25 2013 Petr Pisar <ppisar@redhat.com> - 2:0.42.02-1
|
||||||
|
- 0.4202 bump
|
||||||
|
|
||||||
|
* Tue Nov 19 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.01-1
|
||||||
|
- 0.4201 bump
|
||||||
|
|
||||||
|
* Tue Nov 05 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.40.08-1
|
||||||
|
- 0.4008 bump
|
||||||
|
|
||||||
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.40.07-3
|
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.40.07-3
|
||||||
- Perl 5.18 re-rebuild of bootstrapped packages
|
- Perl 5.18 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user