Accepting request 395028 from devel:languages:perl

->

OBS-URL: https://build.opensuse.org/request/show/395028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Module-Build?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2016-05-31 10:08:14 +00:00 committed by Git OBS Bridge
commit b4e144bcef
6 changed files with 64 additions and 32 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4913b0b95065ad4666d69eed1ce93488a175eacd3b40e1e0c9c6b181f11e812
size 304867

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ef0aa529a3f296f894a5e79240a77d71be60dd595e8cad3a0d04c7ea187c0d0
size 305533

View File

@ -4,8 +4,6 @@
#sources:
# - source1
# - source2
patches:
make-builds-reproducible.patch: -p1
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-

View File

@ -1,17 +0,0 @@
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; }')
}

View File

@ -1,3 +1,55 @@
-------------------------------------------------------------------
Tue May 10 13:40:04 UTC 2016 - coolo@suse.com
- updated to 0.4218
see /usr/share/doc/packages/perl-Module-Build/Changes
0.4218 - Sun Apr 24 16:39:47 BST 2016
- Skip XS test when link_executable fails
0.42_17 - Mon Mar 21 14:02:06 CET 2016
- Read extra_linker_flags using its accessor [Salvador Fandino]
- Convert win shell splitting to m//gc parser, fixing handling of 0
and handling of backslashes preceeding a double quote [Graham Knop]
- Win32 installation of MB with gmake require SHELL env var to be set
[bulk88]
0.4216 - Wed Jan 20 10:39:27 CET 2016
- Delete test that fails with new version.pm [Leon Timmermans]
0.42_15 - Sat Nov 28 15:17:40 CET 2015
- Honor environmental variables when using TAP::Harness directly [Leon Timmermans]
- Reintroduce some level of perl 5.6 support [Leon Timmermans]
Note that this comes with no guarantees or commitment
- Allow Devel::Cover usage with TAP::Harness [Philipp Gortan]
- Remove "running under some shell" [Shoichi Kaji]
- Fix cookbook - code was missing trailing ` [Matthew Horsfall]
0.4214 - Fri Jun 12 00:25:00 CEST 2015
- Released 0.42_13 as 0.4214
0.42_13 - Sat Jun 6 21:18:24 CEST 2015
[BUG FIXES]
- Handle failure to guess license from key better
[ENHANCEMENTS]
- Output data in a stable order [Jérémy Bobbio]
- deleted patch make-builds-reproducible.patch
-------------------------------------------------------------------
Sun May 17 08:20:57 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Build
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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,10 +17,10 @@
Name: perl-Module-Build
Version: 0.421200
Version: 0.421800
Release: 0
%define cpan_version 0.4212
Provides: perl(Module::Build) = 0.421200
%define cpan_version 0.4218
Provides: perl(Module::Build) = 0.421800
%define cpan_name Module-Build
Summary: Build and install Perl modules
License: Artistic-1.0 or GPL-1.0+
@ -28,7 +28,6 @@ Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Build/
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Patch0: make-builds-reproducible.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@ -41,7 +40,7 @@ BuildRequires: perl(Module::Metadata) >= 1.000002
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4401
BuildRequires: perl(Perl::OSType) >= 1
BuildRequires: perl(Pod::Man) >= 2.17
BuildRequires: perl(Test::Harness) >= 3.16
BuildRequires: perl(TAP::Harness) >= 3.29
BuildRequires: perl(version) >= 0.87
Requires: perl(CPAN::Meta) >= 2.142060
Requires: perl(ExtUtils::CBuilder) >= 0.27
@ -49,6 +48,7 @@ Requires: perl(ExtUtils::ParseXS) >= 2.21
Requires: perl(Module::Metadata) >= 1.000002
Requires: perl(Perl::OSType) >= 1
Requires: perl(Pod::Man) >= 2.17
Requires: perl(TAP::Harness) >= 3.29
Requires: perl(version) >= 0.87
Recommends: perl(ExtUtils::Manifest) >= 1.54
%{perl_requires}
@ -61,8 +61,8 @@ much more straightforward way than with 'MakeMaker'. It also does not
require a 'make' on your system - most of the 'Module::Build' code is
pure-perl and written in a very cross-platform way.
See the "MOTIVATIONS" manpage for more comparisons between
'ExtUtils::MakeMaker' and 'Module::Build'.
See "MOTIVATIONS" 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:
@ -100,8 +100,7 @@ You can run the 'help' action for a complete list of actions.
%prep
%setup -q -n %{cpan_name}-%{cpan_version}
find . -type f -print0 | xargs -0 chmod 644
%patch0 -p1
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL installdirs=vendor