Hello community,
here is the log from the commit of package perl-Module-Build-XSUtil for
openSUSE:Factory checked in at 2017-11-15 16:53:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-Build-XSUtil (Old)
and /work/SRC/openSUSE:Factory/.perl-Module-Build-XSUtil.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Build-XSUtil"
Wed Nov 15 16:53:05 2017 rev:4 rq:539958 version:0.17
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Module-Build-XSUtil/perl-Module-Build-XSUtil.changes
2015-07-03 00:13:13.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Module-Build-XSUtil.new/perl-Module-Build-XSUtil.changes
2017-11-15 16:53:11.446166330 +0100
@@ -1,0 +2,9 @@
+Wed Nov 1 06:34:27 UTC 2017 - [email protected]
+
+- updated to 0.17
+ see /usr/share/doc/packages/perl-Module-Build-XSUtil/Changes
+
+ 0.17 2017-10-31T13:00:43Z
+ - Support pure-perl build
+
+-------------------------------------------------------------------
Old:
----
Module-Build-XSUtil-0.16.tar.gz
New:
----
Module-Build-XSUtil-0.17.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Module-Build-XSUtil.spec ++++++
--- /var/tmp/diff_new_pack.kqSWzn/_old 2017-11-15 16:53:12.186139218 +0100
+++ /var/tmp/diff_new_pack.kqSWzn/_new 2017-11-15 16:53:12.190139071 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Build-XSUtil
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,14 +17,14 @@
Name: perl-Module-Build-XSUtil
-Version: 0.16
+Version: 0.17
Release: 0
%define cpan_name Module-Build-XSUtil
Summary: Module::Build class for building XS modules
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Build-XSUtil/
-Source0:
http://www.cpan.org/authors/id/H/HI/HIDEAKIO/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/H/HI/HIDEAKIO/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -35,6 +35,7 @@
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(File::Copy::Recursive)
BuildRequires: perl(Module::Build) >= 0.400500
+BuildRequires: perl(Module::Build::Tiny) >= 0.035
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(parent)
Requires: perl(Devel::CheckCompiler)
@@ -43,60 +44,61 @@
%{perl_requires}
%description
-Module::Build::XSUtil is subclass of the Module::Build manpage for support
-building XS modules.
+Module::Build::XSUtil is subclass of Module::Build for support building XS
+modules.
This is a list of a new parameters in the Module::Build::new method:
* needs_compiler_c99
- This option checks C99 compiler's availability. If it's not available,
- Build.PL exits by 0.
+This option checks C99 compiler's availability. If it's not available,
+Build.PL exits by 0.
* needs_compiler_cpp
- This option checks C++ compiler's availability. If it's not available,
- Build.PL exits by 0.
+This option checks C++ compiler's availability. If it's not available,
+Build.PL exits by 0.
- In addition, append 'extra_compiler_flags' and 'extra_linker_flags' for
- C++.
+In addition, append 'extra_compiler_flags' and 'extra_linker_flags' for
+C++.
* generate_ppport_h
- Genereate ppport.h by the Devel::PPPort manpage.
+Genereate ppport.h by Devel::PPPort.
* generate_xshelper_h
- Genereate xshelper.h which is a helper header file to include EXTERN.h,
- perl.h, XSUB.h and ppport.h, and defines some portability stuff which are
- not supported by ppport.h.
+Genereate xshelper.h which is a helper header file to include EXTERN.h,
+perl.h, XSUB.h and ppport.h, and defines some portability stuff which are
+not supported by ppport.h.
- It is porting from the Module::Install::XSUtil manpage.
+It is porting from Module::Install::XSUtil.
* cc_warnings
- Enable compiler warnings flag. It is enable by default.
+Enable compiler warnings flag. It is enable by default.
* -g options
- If invoke Build.PL with '-g' option, It will build with debug options.
+If invoke Build.PL with '-g' option, It will build with debug options.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
-./Build build flags=%{?_smp_mflags}
+%{__perl} Build.PL --installdirs=vendor optimize="%{optflags}"
+./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
-./Build install destdir=%{buildroot} create_packlist=0
+./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE minil.toml README.md
+%doc Changes minil.toml README.md
+%license LICENSE
%changelog
++++++ Module-Build-XSUtil-0.16.tar.gz -> Module-Build-XSUtil-0.17.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Build-XSUtil-0.16/Build.PL
new/Module-Build-XSUtil-0.17/Build.PL
--- old/Module-Build-XSUtil-0.16/Build.PL 2015-06-29 17:55:15.000000000
+0200
+++ new/Module-Build-XSUtil-0.17/Build.PL 2017-10-31 14:00:49.000000000
+0100
@@ -4,62 +4,9 @@
# =========================================================================
use 5.008_001;
-
use strict;
-use warnings;
-use utf8;
-
-use Module::Build;
-use File::Basename;
-use File::Spec;
-
-my %args = (
- license => 'perl',
- dynamic_config => 0,
-
- configure_requires => {
- 'Module::Build' => 0.38,
- },
-
- name => 'Module-Build-XSUtil',
- module_name => 'Module::Build::XSUtil',
- allow_pureperl => 0,
-
- script_files => [glob('script/*'), glob('bin/*')],
- c_source => [qw()],
- PL_files => {},
-
- test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt')
? 't/ xt/' : 't/',
- recursive_test_files => 1,
-
-
-);
-if (-d 'share') {
- $args{share_dir} = 'share';
-}
-
-my $builder = Module::Build->subclass(
- class => 'MyBuilder',
- code => q{
- sub ACTION_distmeta {
- die "Do not run distmeta. Install Minilla and `minil install`
instead.\n";
- }
- sub ACTION_installdeps {
- die "Do not run installdeps. Run `cpanm --installdeps .`
instead.\n";
- }
- }
-)->new(%args);
-$builder->create_build_script();
-
-use File::Copy;
-print "cp META.json MYMETA.json\n";
-copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!";
+use Module::Build::Tiny 0.035;
-if (-f 'META.yml') {
- print "cp META.yml MYMETA.yml\n";
- copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!";
-} else {
- print "There is no META.yml... You may install this module from the
repository...\n";
-}
+Build_PL();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Build-XSUtil-0.16/Changes
new/Module-Build-XSUtil-0.17/Changes
--- old/Module-Build-XSUtil-0.16/Changes 2015-06-29 17:55:15.000000000
+0200
+++ new/Module-Build-XSUtil-0.17/Changes 2017-10-31 14:00:49.000000000
+0100
@@ -1,5 +1,8 @@
Revision history for Perl extension Module-Build-XSHelper
+0.17 2017-10-31T13:00:43Z
+ - Support pure-perl build
+
0.16 2015-06-29T15:55:13Z
- Fix regexp of _gcc_version for Ubuntu and Debian
(syohex)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Build-XSUtil-0.16/META.json
new/Module-Build-XSUtil-0.17/META.json
--- old/Module-Build-XSUtil-0.16/META.json 2015-06-29 17:55:15.000000000
+0200
+++ new/Module-Build-XSUtil-0.17/META.json 2017-10-31 14:00:49.000000000
+0100
@@ -4,7 +4,7 @@
":"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v2.4.1",
+ "generated_by" : "Minilla/v3.0.13",
"license" : [
"perl_5"
],
@@ -28,7 +28,8 @@
"prereqs" : {
"configure" : {
"requires" : {
- "Module::Build" : "0.4005"
+ "Module::Build" : "0.4005",
+ "Module::Build::Tiny" : "0.035"
}
},
"develop" : {
@@ -67,7 +68,7 @@
"provides" : {
"Module::Build::XSUtil" : {
"file" : "lib/Module/Build/XSUtil.pm",
- "version" : "0.16"
+ "version" : "0.17"
}
},
"release_status" : "stable",
@@ -81,11 +82,12 @@
"web" : "https://github.com/hideo55/Module-Build-XSUtil"
}
},
- "version" : "0.16",
+ "version" : "0.17",
"x_contributors" : [
- "tokuhirom <[email protected]>",
- "Vincent Pit <[email protected]>",
+ "Shoichi Kaji <[email protected]>",
"Syohei YOSHIDA <[email protected]>",
- "Hideaki Ohno <[email protected]>"
+ "Vincent Pit <[email protected]>",
+ "hideo55 <[email protected]>",
+ "tokuhirom <[email protected]>"
]
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Build-XSUtil-0.16/META.yml
new/Module-Build-XSUtil-0.17/META.yml
--- old/Module-Build-XSUtil-0.16/META.yml 2015-06-29 17:55:15.000000000
+0200
+++ new/Module-Build-XSUtil-0.17/META.yml 2017-10-31 14:00:49.000000000
+0100
@@ -11,8 +11,9 @@
Test::More: '0.98'
configure_requires:
Module::Build: '0.4005'
+ Module::Build::Tiny: '0.035'
dynamic_config: 0
-generated_by: 'Minilla/v2.4.1, CPAN::Meta::Converter version 2.142060'
+generated_by: 'Minilla/v3.0.13, CPAN::Meta::Converter version 2.142060'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -31,7 +32,7 @@
provides:
Module::Build::XSUtil:
file: lib/Module/Build/XSUtil.pm
- version: '0.16'
+ version: '0.17'
requires:
Devel::CheckCompiler: '0'
Devel::PPPort: '0'
@@ -46,9 +47,10 @@
bugtracker: https://github.com/hideo55/Module-Build-XSUtil/issues
homepage: https://github.com/hideo55/Module-Build-XSUtil
repository: git://github.com/hideo55/Module-Build-XSUtil.git
-version: '0.16'
+version: '0.17'
x_contributors:
- - 'tokuhirom <[email protected]>'
- - 'Vincent Pit <[email protected]>'
+ - 'Shoichi Kaji <[email protected]>'
- 'Syohei YOSHIDA <[email protected]>'
- - 'Hideaki Ohno <[email protected]>'
+ - 'Vincent Pit <[email protected]>'
+ - 'hideo55 <[email protected]>'
+ - 'tokuhirom <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Build-XSUtil-0.16/README.md
new/Module-Build-XSUtil-0.17/README.md
--- old/Module-Build-XSUtil-0.16/README.md 2015-06-29 17:55:15.000000000
+0200
+++ new/Module-Build-XSUtil-0.17/README.md 2017-10-31 14:00:49.000000000
+0100
@@ -25,7 +25,7 @@
Use in custom builder module.
- pakcage builder::MyBuilder;
+ package builder::MyBuilder;
use strict;
use warnings;
use base 'Module::Build::XSUtil';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Build-XSUtil-0.16/eg/Foo/lib/Foo.pm
new/Module-Build-XSUtil-0.17/eg/Foo/lib/Foo.pm
--- old/Module-Build-XSUtil-0.16/eg/Foo/lib/Foo.pm 2015-06-29
17:55:15.000000000 +0200
+++ new/Module-Build-XSUtil-0.17/eg/Foo/lib/Foo.pm 2017-10-31
14:00:49.000000000 +0100
@@ -9,7 +9,7 @@
our @EXPORT_OK = qw(ok);
BEGIN {
- our $VERSION = '0.16';
+ our $VERSION = '0.17';
XSLoader::load __PACKAGE__, $VERSION;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Build-XSUtil-0.16/lib/Module/Build/XSUtil.pm
new/Module-Build-XSUtil-0.17/lib/Module/Build/XSUtil.pm
--- old/Module-Build-XSUtil-0.16/lib/Module/Build/XSUtil.pm 2015-06-29
17:55:15.000000000 +0200
+++ new/Module-Build-XSUtil-0.17/lib/Module/Build/XSUtil.pm 2017-10-31
14:00:49.000000000 +0100
@@ -8,7 +8,7 @@
use File::Path;
our @ISA = qw(Module::Build);
-our $VERSION = "0.16";
+our $VERSION = "0.17";
__PACKAGE__->add_property( 'ppport_h_path' => undef );
__PACKAGE__->add_property( 'xshelper_h_path' => undef );
@@ -19,6 +19,7 @@
my %args = @_;
my $self = $class->SUPER::new(%args);
+ return $self if $self->pureperl_only && $self->allow_pureperl;
if ( !defined $args{cc_warnings} ) {
$args{cc_warnings} = 1;
@@ -412,7 +413,7 @@
Use in custom builder module.
- pakcage builder::MyBuilder;
+ package builder::MyBuilder;
use strict;
use warnings;
use base 'Module::Build::XSUtil';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Build-XSUtil-0.16/t/01_build.t
new/Module-Build-XSUtil-0.17/t/01_build.t
--- old/Module-Build-XSUtil-0.16/t/01_build.t 2015-06-29 17:55:15.000000000
+0200
+++ new/Module-Build-XSUtil-0.17/t/01_build.t 2017-10-31 14:00:49.000000000
+0100
@@ -1,4 +1,4 @@
-use Test::More skip_all => 'Will be fixed.';
+use Test::More;
use Config;
use File::Spec::Functions qw(catdir catfile rel2abs);
use File::Temp qw(tempdir);
@@ -6,8 +6,6 @@
use Cwd::Guard qw(cwd_guard);
use Capture::Tiny qw(capture);
-
-
my $perl = $Config{perlpath};
my @perl = ($perl, map { "-I" . $_ } @INC);