Hello community,
here is the log from the commit of package perl-mousex-getopt for openSUSE:Factory checked in at 2016-08-15 10:31:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-mousex-getopt (Old)
and /work/SRC/openSUSE:Factory/.perl-mousex-getopt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-mousex-getopt"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-mousex-getopt/perl-mousex-getopt.changes 2015-04-27 07:46:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-mousex-getopt.new/perl-mousex-getopt.changes 2016-08-15 10:31:47.000000000 +0200
@@ -1,0 +2,11 @@
+Sat Aug 13 10:41:33 UTC 2016 - stephan.barth@suse.com
+
+- Update to version 0.37
+ Upstream switched from using Module::Build to Module::Build::Tiny
+ Changelog from upstream:
+ - Cope with GLD output changes in version 0.100 (#10, by pghmcfc)
+- Adapted %build and %install parameters to Module::Build::Tiny syntax which
+ needs leading --, e.g. '--destdir' instead of just 'destdir'
+- Fixed %description, which was a copy&paste of the summary
+
+-------------------------------------------------------------------
Old:
----
MouseX-Getopt-0.36.tar.gz
New:
----
MouseX-Getopt-0.37.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-mousex-getopt.spec ++++++
--- /var/tmp/diff_new_pack.UugpDO/_old 2016-08-15 10:31:48.000000000 +0200
+++ /var/tmp/diff_new_pack.UugpDO/_new 2016-08-15 10:31:48.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-mousex-getopt
#
-# 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,7 +17,7 @@
Name: perl-mousex-getopt
-Version: 0.36
+Version: 0.37
Release: 0
%define cpan_name MouseX-Getopt
Summary: A Mouse role for processing command line options
@@ -33,7 +33,7 @@
BuildRequires: perl(CPAN::Meta::Prereqs)
BuildRequires: perl(Getopt::Long) >= 2.37
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.091
-BuildRequires: perl(Module::Build) >= 0.38
+BuildRequires: perl(Module::Build::Tiny) >= 0.035
BuildRequires: perl(Mouse) >= 0.64
BuildRequires: perl(Mouse::Meta::Attribute)
BuildRequires: perl(Mouse::Meta::Class)
@@ -54,20 +54,21 @@
%{perl_requires}
%description
-A Mouse role for processing command line options
+A Mouse role which provides an alternate constructor for creating objects
+using parameters passed in from the command line.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Build.PL installdirs=vendor
+%{__perl} Build.PL --installdirs=vendor
./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
++++++ MouseX-Getopt-0.36.tar.gz -> MouseX-Getopt-0.37.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MouseX-Getopt-0.36/Build.PL new/MouseX-Getopt-0.37/Build.PL
--- old/MouseX-Getopt-0.36/Build.PL 2015-04-02 02:04:39.000000000 +0200
+++ new/MouseX-Getopt-0.37/Build.PL 2016-07-13 05:23:42.000000000 +0200
@@ -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 => 'MouseX-Getopt',
- module_name => 'MouseX::Getopt',
- 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/MouseX-Getopt-0.36/Changes new/MouseX-Getopt-0.37/Changes
--- old/MouseX-Getopt-0.36/Changes 2015-04-02 02:04:39.000000000 +0200
+++ new/MouseX-Getopt-0.37/Changes 2016-07-13 05:23:42.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for Perl extension MouseX-Getopt
+0.37 2016-07-13T03:23:39Z
+ * Cope with GLD output changes in version 0.100 (#10, by pghmcfc)
+
0.36 2015-04-02T00:04:11Z
* Fix tests that follow GLD changes (#6)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MouseX-Getopt-0.36/META.json new/MouseX-Getopt-0.37/META.json
--- old/MouseX-Getopt-0.36/META.json 2015-04-02 02:04:39.000000000 +0200
+++ new/MouseX-Getopt-0.37/META.json 2016-07-13 05:23:42.000000000 +0200
@@ -4,7 +4,7 @@
"=over 4"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v2.3.0",
+ "generated_by" : "Minilla/v3.0.2",
"license" : [
"perl_5"
],
@@ -28,7 +28,7 @@
"prereqs" : {
"configure" : {
"requires" : {
- "Module::Build" : "0.38"
+ "Module::Build::Tiny" : "0.035"
}
},
"develop" : {
@@ -66,7 +66,7 @@
"provides" : {
"MouseX::Getopt" : {
"file" : "lib/MouseX/Getopt.pm",
- "version" : "0.36"
+ "version" : "0.37"
},
"MouseX::Getopt::Basic" : {
"file" : "lib/MouseX/Getopt/Basic.pm"
@@ -107,7 +107,7 @@
"web" : "https://github.com/gfx/mousex-getopt"
}
},
- "version" : "0.36",
+ "version" : "0.37",
"x_authority" : "cpan:GFUJI",
"x_contributors" : [
"Brandon L Black