Hello community, here is the log from the commit of package perl-Alien-Libxml2 for openSUSE:Factory checked in at 2019-12-23 22:40:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Alien-Libxml2 (Old) and /work/SRC/openSUSE:Factory/.perl-Alien-Libxml2.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Alien-Libxml2" Mon Dec 23 22:40:47 2019 rev:2 rq:757333 version:0.12 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Alien-Libxml2/perl-Alien-Libxml2.changes 2019-11-26 16:54:12.452209942 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Alien-Libxml2.new.6675/perl-Alien-Libxml2.changes 2019-12-23 22:43:02.309965936 +0100 @@ -1,0 +2,9 @@ +Sat Dec 14 03:06:59 UTC 2019 - <[email protected]> + +- updated to 0.12 + see /usr/share/doc/packages/perl-Alien-Libxml2/Changes + + 0.12 2019-12-13 17:35:02 -0700 + - Support for Visual C++ Perl (gh#14) + +------------------------------------------------------------------- Old: ---- Alien-Libxml2-0.11.tar.gz New: ---- Alien-Libxml2-0.12.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Alien-Libxml2.spec ++++++ --- /var/tmp/diff_new_pack.uE9OfQ/_old 2019-12-23 22:43:02.949966213 +0100 +++ /var/tmp/diff_new_pack.uE9OfQ/_new 2019-12-23 22:43:02.953966215 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Alien-Libxml2 # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2019 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-Alien-Libxml2 -Version: 0.11 +Version: 0.12 Release: 0 %define cpan_name Alien-Libxml2 Summary: Install the C libxml2 library on your system @@ -26,6 +26,7 @@ Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Alien::Base) >= 0.73 @@ -52,7 +53,7 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" ++++++ Alien-Libxml2-0.11.tar.gz -> Alien-Libxml2-0.12.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-Libxml2-0.11/Changes new/Alien-Libxml2-0.12/Changes --- old/Alien-Libxml2-0.11/Changes 2019-10-28 16:54:26.000000000 +0100 +++ new/Alien-Libxml2-0.12/Changes 2019-12-14 01:35:04.000000000 +0100 @@ -1,5 +1,8 @@ Revision history for Alien-Libxml2 +0.12 2019-12-13 17:35:02 -0700 + - Support for Visual C++ Perl (gh#14) + 0.11 2019-10-28 09:54:24 -0600 - Production release identical to 0.11. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-Libxml2-0.11/META.json new/Alien-Libxml2-0.12/META.json --- old/Alien-Libxml2-0.11/META.json 2019-10-28 16:54:26.000000000 +0100 +++ new/Alien-Libxml2-0.12/META.json 2019-12-14 01:35:04.000000000 +0100 @@ -76,17 +76,16 @@ }, "x_IRC" : "irc://irc.perl.org/#native" }, - "version" : "0.11", + "version" : "0.12", "x_alienfile" : { - "generated_by" : "Dist::Zilla::Plugin::AlienBuild version 0.28", + "generated_by" : "Dist::Zilla::Plugin::AlienBuild version 0.29", "requires" : { "share" : { "Archive::Tar" : "0", "Config" : "0", "HTTP::Tiny" : "0.044", "IO::Zlib" : "0", - "Mojo::DOM" : "0", - "Mojolicious" : "7.00", + "Mojo::DOM58" : "1.00", "Sort::Versions" : "0", "URI" : "0", "URI::Escape" : "0" @@ -98,8 +97,8 @@ "Graham Ollis <[email protected]>", "Shlomi Fish (shlomif)" ], - "x_generated_by_perl" : "v5.30.0", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.11", + "x_generated_by_perl" : "v5.28.1", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.12", "x_use_unsafe_inc" : 0 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-Libxml2-0.11/META.yml new/Alien-Libxml2-0.12/META.yml --- old/Alien-Libxml2-0.11/META.yml 2019-10-28 16:54:26.000000000 +0100 +++ new/Alien-Libxml2-0.12/META.yml 2019-12-14 01:35:04.000000000 +0100 @@ -32,17 +32,16 @@ bugtracker: https://github.com/Perl5-Alien/Alien-Libxml2/issues homepage: https://metacpan.org/pod/Alien::Libxml2 repository: git://github.com/Perl5-Alien/Alien-Libxml2.git -version: '0.11' +version: '0.12' x_alienfile: - generated_by: 'Dist::Zilla::Plugin::AlienBuild version 0.28' + generated_by: 'Dist::Zilla::Plugin::AlienBuild version 0.29' requires: share: Archive::Tar: '0' Config: '0' HTTP::Tiny: '0.044' IO::Zlib: '0' - Mojo::DOM: '0' - Mojolicious: '7.00' + Mojo::DOM58: '1.00' Sort::Versions: '0' URI: '0' URI::Escape: '0' @@ -50,6 +49,6 @@ x_contributors: - 'Graham Ollis <[email protected]>' - 'Shlomi Fish (shlomif)' -x_generated_by_perl: v5.30.0 +x_generated_by_perl: v5.28.1 x_serialization_backend: 'YAML::Tiny version 1.73' x_use_unsafe_inc: 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-Libxml2-0.11/Makefile.PL new/Alien-Libxml2-0.12/Makefile.PL --- old/Alien-Libxml2-0.11/Makefile.PL 2019-10-28 16:54:26.000000000 +0100 +++ new/Alien-Libxml2-0.12/Makefile.PL 2019-12-14 01:35:04.000000000 +0100 @@ -41,7 +41,7 @@ "Test2::V0" => "0.000060", "Test::Alien" => 0 }, - "VERSION" => "0.11", + "VERSION" => "0.12", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-Libxml2-0.11/README new/Alien-Libxml2-0.12/README --- old/Alien-Libxml2-0.11/README 2019-10-28 16:54:26.000000000 +0100 +++ new/Alien-Libxml2-0.12/README 2019-12-14 01:35:04.000000000 +0100 @@ -4,7 +4,7 @@ VERSION - version 0.11 + version 0.12 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-Libxml2-0.11/alienfile new/Alien-Libxml2-0.12/alienfile --- old/Alien-Libxml2-0.11/alienfile 2019-10-28 16:54:26.000000000 +0100 +++ new/Alien-Libxml2-0.12/alienfile 2019-12-14 01:35:04.000000000 +0100 @@ -1,4 +1,5 @@ use alienfile; +use Config; configure { requires 'Alien::Build' => '1.60' }; @@ -132,15 +133,38 @@ ); plugin Extract => 'tar.gz'; - plugin 'Build::Autoconf' => (); - build [ - '%{configure} --prefix=%{.install.autoconf_prefix} --without-python --disable-shared --enable-static', - '%{make}', - '%{make} install', - ]; + if($^O eq 'MSWin32' && $Config{ccname} eq 'cl') + { + build [ + sub { shift->install_prop->{prefix} =~ s/\//\\/g;}, + 'cd win32', + 'cscript configure.js prefix=%{.install.prefix} iconv=no compiler=msvc static=yes', + 'nmake -f Makefile.msvc', + 'nmake -f Makefile.msvc install', + ]; + + plugin 'Gather::IsolateDynamic'; + + gather sub { + my($build) = @_; + my $prefix = $build->runtime_prop->{prefix}; + $build->runtime_prop->{cflags} = "-I$prefix/include/libxml2"; + $build->runtime_prop->{libs} = "-L$prefix/lib libxml2_a.lib"; + }; + } + else + { + plugin 'Build::Autoconf' => (); + + build [ + '%{configure} --prefix=%{.install.autoconf_prefix} --without-python --disable-shared --enable-static', + '%{make}', + '%{make} install', + ]; - plugin 'PkgConfig::MakeStatic' => (); + plugin 'PkgConfig::MakeStatic' => (); + } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-Libxml2-0.11/dist.ini new/Alien-Libxml2-0.12/dist.ini --- old/Alien-Libxml2-0.11/dist.ini 2019-10-28 16:54:26.000000000 +0100 +++ new/Alien-Libxml2-0.12/dist.ini 2019-12-14 01:35:04.000000000 +0100 @@ -3,7 +3,7 @@ license = Perl_5 copyright_holder = Graham Ollis copyright_year = 2013 -version = 0.11 +version = 0.12 [AlienBase::Doc] name = libxml2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-Libxml2-0.11/lib/Alien/Libxml2.pm new/Alien-Libxml2-0.12/lib/Alien/Libxml2.pm --- old/Alien-Libxml2-0.11/lib/Alien/Libxml2.pm 2019-10-28 16:54:26.000000000 +0100 +++ new/Alien-Libxml2-0.12/lib/Alien/Libxml2.pm 2019-12-14 01:35:04.000000000 +0100 @@ -5,7 +5,7 @@ use base qw( Alien::Base ); # ABSTRACT: Install the C libxml2 library on your system -our $VERSION = '0.11'; # VERSION +our $VERSION = '0.12'; # VERSION @@ -24,7 +24,7 @@ =head1 VERSION -version 0.11 +version 0.12 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-Libxml2-0.11/t/alien_libxml2.t new/Alien-Libxml2-0.12/t/alien_libxml2.t --- old/Alien-Libxml2-0.11/t/alien_libxml2.t 2019-10-28 16:54:26.000000000 +0100 +++ new/Alien-Libxml2-0.12/t/alien_libxml2.t 2019-12-14 01:35:04.000000000 +0100 @@ -1,9 +1,25 @@ use Test2::V0 -no_srand => 1; use Test::Alien; +use Config; use Alien::Libxml2; alien_ok 'Alien::Libxml2'; +if($^O eq 'MSWin32' && $Config{ccname} eq 'cl') +{ + eval q{ + package Alien::Libxml2; + sub libs_static + { + my($self) = @_; + my $str = $self->SUPER::libs_static; + $str =~ s/-L/-LIBPATH:/; + $str; + } + }; + die $@ if $@; +} + my $xs = do { local $/; <DATA> }; xs_ok $xs, with_subtest { ok(Libxml2::mytest());
