- updated to 0.4211
[BUG FIXES] - Fix t/actions/installdeps.t to work on "perl in space" [Ed J] - Stop using version->normal(); prefer stringify() [John Peacock] [DEPRECATIONS] - inc::latest has been split out to a separate distribution on CPAN. It is an optional prerequisite, only needed for the experimental bundling feature. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Build?expand=0&rev=32
This commit is contained in:
parent
d76aa99c82
commit
edff5ce8db
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:592471e27800180044016011ae580f4be308c15635162795269b472cfe991fb5
|
||||
size 308569
|
3
Module-Build-0.4211.tar.gz
Normal file
3
Module-Build-0.4211.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10955c450f4c2d37922a90b99cc3bfc46df2fd617a47d92ae1c3a42c1574b0b0
|
||||
size 304925
|
17
make-builds-reproducible.patch
Normal file
17
make-builds-reproducible.patch
Normal file
@ -0,0 +1,17 @@
|
||||
Index: Module-Build-0.4211/lib/Module/Build/Dumper.pm
|
||||
===================================================================
|
||||
--- Module-Build-0.4211.orig/lib/Module/Build/Dumper.pm
|
||||
+++ Module-Build-0.4211/lib/Module/Build/Dumper.pm
|
||||
@@ -11,8 +11,11 @@ use Data::Dumper;
|
||||
|
||||
sub _data_dump {
|
||||
my ($self, $data) = @_;
|
||||
+
|
||||
+ my $dumper = Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0);
|
||||
+ $dumper->Sortkeys(1);
|
||||
return ("do{ my "
|
||||
- . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Dump()
|
||||
+ . $dumper->Dump()
|
||||
. '$x; }')
|
||||
}
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 3 15:55:41 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.4211
|
||||
[BUG FIXES]
|
||||
- Fix t/actions/installdeps.t to work on "perl in space" [Ed J]
|
||||
- Stop using version->normal(); prefer stringify() [John Peacock]
|
||||
|
||||
[DEPRECATIONS]
|
||||
- inc::latest has been split out to a separate distribution on CPAN.
|
||||
It is an optional prerequisite, only needed for the experimental
|
||||
bundling feature.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 21 21:07:03 UTC 2014 - lars@linux-schulserver.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Module-Build
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: perl-Module-Build
|
||||
Version: 0.4210
|
||||
Version: 0.4211
|
||||
Release: 0
|
||||
%define cpan_name Module-Build
|
||||
Summary: Build and install Perl modules
|
||||
@ -25,11 +25,12 @@ License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Module-Build/
|
||||
Source: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
|
||||
Patch0: make-builds-reproducible.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(CPAN::Meta) >= 2.141170
|
||||
BuildRequires: perl(CPAN::Meta) >= 2.142060
|
||||
BuildRequires: perl(CPAN::Meta::YAML) >= 0.003
|
||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
||||
BuildRequires: perl(ExtUtils::ParseXS) >= 2.21
|
||||
@ -39,7 +40,7 @@ BuildRequires: perl(Perl::OSType) >= 1
|
||||
BuildRequires: perl(Pod::Man) >= 2.17
|
||||
BuildRequires: perl(Test::Harness) >= 3.16
|
||||
BuildRequires: perl(version) >= 0.87
|
||||
Requires: perl(CPAN::Meta) >= 2.141170
|
||||
Requires: perl(CPAN::Meta) >= 2.142060
|
||||
Requires: perl(ExtUtils::CBuilder) >= 0.27
|
||||
Requires: perl(ExtUtils::ParseXS) >= 2.21
|
||||
Requires: perl(Module::Metadata) >= 1.000002
|
||||
@ -60,10 +61,45 @@ pure-perl and written in a very cross-platform way.
|
||||
See the "MOTIVATIONS" manpage for more comparisons between
|
||||
'ExtUtils::MakeMaker' and 'Module::Build'.
|
||||
|
||||
To install 'Module::Build', and any other module that uses 'Module::Build'
|
||||
for its installation process, do the following:
|
||||
|
||||
perl Build.PL # 'Build.PL' script creates the 'Build' script
|
||||
./Build # Need ./ to ensure we're using this "Build" script
|
||||
./Build test # and not another one that happens to be in the PATH
|
||||
./Build install
|
||||
|
||||
This illustrates initial configuration and the running of three 'actions'.
|
||||
In this case the actions run are 'build' (the default action), 'test', and
|
||||
'install'. Other actions defined so far include:
|
||||
|
||||
build manifest
|
||||
clean manifest_skip
|
||||
code manpages
|
||||
config_data pardist
|
||||
diff ppd
|
||||
dist ppmdist
|
||||
distcheck prereq_data
|
||||
distclean prereq_report
|
||||
distdir pure_install
|
||||
distinstall realclean
|
||||
distmeta retest
|
||||
distsign skipcheck
|
||||
disttest test
|
||||
docs testall
|
||||
fakeinstall testcover
|
||||
help testdb
|
||||
html testpod
|
||||
install testpodcoverage
|
||||
installdeps versioninstall
|
||||
|
||||
You can run the 'help' action for a complete list of actions.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# MANUAL
|
||||
%patch0 -p1
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
sed -i "s|^use warnings;.*|use warnings;\nuse lib '%{perl_vendorlib}';\n|g" lib/Module/Build/Base.pm
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
|
Loading…
Reference in New Issue
Block a user