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 - [email protected]
+
+- 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 <[email protected]>",
@@ -134,7 +134,9 @@
       "Tomas Doran <[email protected]>",
       "Mark Gardner <[email protected]>",
       "Tokuhiro Matsuno <[email protected]>",
+      "FUJI Goro (gfx) <[email protected]>",
       "Paul Howarth <[email protected]>",
-      "FUJI Goro (gfx) <[email protected]>"
+      "FUJI Goro <[email protected]>",
+      "FUJI Goro <[email protected]>"
    ]
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MouseX-Getopt-0.36/META.yml 
new/MouseX-Getopt-0.37/META.yml
--- old/MouseX-Getopt-0.36/META.yml     2015-04-02 02:04:39.000000000 +0200
+++ new/MouseX-Getopt-0.37/META.yml     2016-07-13 05:23:42.000000000 +0200
@@ -12,9 +12,9 @@
   Test::Mouse: '0'
   Test::Warn: '0.21'
 configure_requires:
-  Module::Build: '0.38'
+  Module::Build::Tiny: '0.035'
 dynamic_config: 0
-generated_by: 'Minilla/v2.3.0, CPAN::Meta::Converter version 2.133380'
+generated_by: 'Minilla/v3.0.2, CPAN::Meta::Converter version 2.150001'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -33,7 +33,7 @@
 provides:
   MouseX::Getopt:
     file: lib/MouseX/Getopt.pm
-    version: '0.36'
+    version: '0.37'
   MouseX::Getopt::Basic:
     file: lib/MouseX/Getopt/Basic.pm
   MouseX::Getopt::Dashes:
@@ -63,7 +63,7 @@
   bugtracker: https://github.com/gfx/mousex-getopt/issues
   homepage: https://github.com/gfx/mousex-getopt
   repository: git://github.com/gfx/mousex-getopt.git
-version: '0.36'
+version: '0.37'
 x_authority: cpan:GFUJI
 x_contributors:
   - 'Brandon L Black <[email protected]>'
@@ -90,5 +90,7 @@
   - 'Tomas Doran <[email protected]>'
   - 'Mark Gardner <[email protected]>'
   - 'Tokuhiro Matsuno <[email protected]>'
-  - 'Paul Howarth <[email protected]>'
   - 'FUJI Goro (gfx) <[email protected]>'
+  - 'Paul Howarth <[email protected]>'
+  - 'FUJI Goro <[email protected]>'
+  - 'FUJI Goro <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MouseX-Getopt-0.36/README.md 
new/MouseX-Getopt-0.37/README.md
--- old/MouseX-Getopt-0.36/README.md    2015-04-02 02:04:39.000000000 +0200
+++ new/MouseX-Getopt-0.37/README.md    2016-07-13 05:23:42.000000000 +0200
@@ -167,7 +167,7 @@
 like a normal `ArrayRef` type for Getopt purposes (that is,
 `=s@`).
 
-- __new\_with\_options (%params)__
+- **new\_with\_options (%params)**
 
     This method will take a set of default `%params` and then collect
     params from the command line (possibly overriding those in `%params`)
@@ -183,7 +183,7 @@
     command line params are passed, the program will exit with usage
     information (and the option's state will be stored in the help\_flag
     attribute). You can add descriptions for each option by including a
-    __documentation__ option for each attribute to document.
+    **documentation** option for each attribute to document.
 
         --?
         --help
@@ -192,28 +192,28 @@
     If you have 
[Getopt::Long::Descriptive](https://metacpan.org/pod/Getopt::Long::Descriptive) 
the `usage` param is also passed to
     `new` as the usage option.
 
-- __ARGV__
+- **ARGV**
 
     This accessor contains a reference to a copy of the `@ARGV` array
     as it originally existed at the time of `new_with_options`.
 
-- __extra\_argv__
+- **extra\_argv**
 
     This accessor contains an arrayref of leftover `@ARGV` elements that
     [Getopt::Long](https://metacpan.org/pod/Getopt::Long) did not parse.  Note 
that the real `@ARGV` is left
     un-mangled.
 
-- __usage__
+- **usage**
 
     This accessor contains the 
[Getopt::Long::Descriptive::Usage](https://metacpan.org/pod/Getopt::Long::Descriptive::Usage)
 object (if
     
[Getopt::Long::Descriptive](https://metacpan.org/pod/Getopt::Long::Descriptive) 
is used).
 
-- __help\_flag__
+- **help\_flag**
 
     This accessor contains the boolean state of the --help, --usage and --?
     options (true if any of these options were passed on the command line).
 
-- __meta__
+- **meta**
 
     This returns the role meta object.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MouseX-Getopt-0.36/lib/MouseX/Getopt.pm 
new/MouseX-Getopt-0.37/lib/MouseX/Getopt.pm
--- old/MouseX-Getopt-0.36/lib/MouseX/Getopt.pm 2015-04-02 02:04:39.000000000 
+0200
+++ new/MouseX-Getopt-0.37/lib/MouseX/Getopt.pm 2016-07-13 05:23:42.000000000 
+0200
@@ -1,7 +1,7 @@
 package MouseX::Getopt;
 # ABSTRACT: A Mouse role for processing command line options
 
-our $VERSION = "0.36";
+our $VERSION = "0.37";
 
 use Mouse::Role;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MouseX-Getopt-0.36/t/104_override_usage.t 
new/MouseX-Getopt-0.37/t/104_override_usage.t
--- old/MouseX-Getopt-0.36/t/104_override_usage.t       2015-04-02 
02:04:39.000000000 +0200
+++ new/MouseX-Getopt-0.37/t/104_override_usage.t       2016-07-13 
05:23:42.000000000 +0200
@@ -49,10 +49,16 @@
 \t--foo              A foo
 }
         :
+         $Getopt::Long::Descriptive::VERSION == 0.099 ?
          qq{usage: 104_override_usage.t [-?] [long options...]
 \t-? --usage --help    Prints this usage information.
 \t--foo INT            A foo
 }
+        :
+         qq{usage: 104_override_usage.t [-?] [long options...]
+\t-? --usage --help  Prints this usage information.
+\t--foo INT          A foo
+}
 
      ];
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MouseX-Getopt-0.36/t/110_sort_usage_by_attr_order.t 
new/MouseX-Getopt-0.37/t/110_sort_usage_by_attr_order.t
--- old/MouseX-Getopt-0.36/t/110_sort_usage_by_attr_order.t     2015-04-02 
02:04:39.000000000 +0200
+++ new/MouseX-Getopt-0.37/t/110_sort_usage_by_attr_order.t     2016-07-13 
05:23:42.000000000 +0200
@@ -34,7 +34,7 @@
     --bar              Documentation for "bar"
     --baz              Documentation for "baz"
 USAGE
-if ( $Getopt::Long::Descriptive::VERSION >= 0.099 )
+if ( $Getopt::Long::Descriptive::VERSION == 0.099 )
 {
 $expected = <<'USAGE';
 usage: 110_sort_usage_by_attr_order.t [-?] [long options...]
@@ -44,6 +44,16 @@
     --baz STR            Documentation for "baz"
 USAGE
 }
+if ( $Getopt::Long::Descriptive::VERSION >= 0.100 )
+{
+$expected = <<'USAGE';
+usage: 110_sort_usage_by_attr_order.t [-?] [long options...]
+    -? --usage --help  Prints this usage information.
+    --foo STR          Documentation for "foo"
+    --bar STR          Documentation for "bar"
+    --baz STR          Documentation for "baz"
+USAGE
+}
 $expected =~ s/^[ ]{4}/\t/xmsg;
 is($obj->usage->text, $expected, 'Usage text has nicely sorted options');
 


Reply via email to