Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-CGI-Simple for openSUSE:Factory 
checked in at 2022-01-17 22:34:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-CGI-Simple (Old)
 and      /work/SRC/openSUSE:Factory/.perl-CGI-Simple.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-CGI-Simple"

Mon Jan 17 22:34:20 2022 rev:28 rq:946982 version:1.280

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-CGI-Simple/perl-CGI-Simple.changes  
2020-02-13 10:11:08.956327228 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-CGI-Simple.new.1892/perl-CGI-Simple.changes    
    2022-01-17 22:35:10.702288727 +0100
@@ -1,0 +2,16 @@
+Wed Jan 12 03:06:14 UTC 2022 - Tina M??ller <timueller+p...@suse.de>
+
+- updated to 1.280
+   see /usr/share/doc/packages/perl-CGI-Simple/Changes
+
+  1.280 2022-01-11 MANWAR
+        - Changed the version format from N.nn to N.nnn as requested.
+
+  1.27  2022-01-06 MANWAR
+        - Removed unneeded Build.PL #11, thanks @haarg.
+        - Moved prereqs to correct phase #12, thanks @haarg.
+
+  1.26  2022-01-02 MANWAR
+        - Dropped IO::Scalar prereq as suggested in PR #10, thanks @haarg.
+
+-------------------------------------------------------------------

Old:
----
  CGI-Simple-1.25.tar.gz

New:
----
  CGI-Simple-1.280.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-CGI-Simple.spec ++++++
--- /var/tmp/diff_new_pack.v95XdL/_old  2022-01-17 22:35:11.098288990 +0100
+++ /var/tmp/diff_new_pack.v95XdL/_new  2022-01-17 22:35:11.102288992 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-CGI-Simple
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,20 @@
 #
 
 
+%define cpan_name CGI-Simple
 Name:           perl-CGI-Simple
-Version:        1.25
+Version:        1.280
 Release:        0
-%define cpan_name CGI-Simple
 Summary:        Object-oriented CGI interface compliant to CGI.pm
 License:        Artistic-1.0 OR GPL-1.0-or-later
-Group:          Development/Libraries/Perl
-Url:            https://metacpan.org/release/%{cpan_name}
+URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(IO::Scalar)
-BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::NoWarnings)
-Requires:       perl(IO::Scalar)
-Requires:       perl(Test::Exception)
-Requires:       perl(Test::NoWarnings)
 %{perl_requires}
 # MANUAL BEGIN
 # after 1.115 came 1.12 - provide the zero padded version number to fix 
version checks
@@ -60,21 +53,21 @@
 CGI.pm depending on the precise task.
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{version}
 
 %build
-perl Build.PL installdirs=vendor
-./Build build flags=%{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
 
 %check
-./Build test
+make test
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
+%perl_make_install
+%perl_process_packlist
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes README
 
 %changelog

++++++ CGI-Simple-1.25.tar.gz -> CGI-Simple-1.280.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/Build.PL 
new/CGI-Simple-1.280/Build.PL
--- old/CGI-Simple-1.25/Build.PL        2018-03-03 11:36:47.000000000 +0100
+++ new/CGI-Simple-1.280/Build.PL       1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-use strict;
-use warnings;
-
-use lib 'inc';
-use Module::Build;
-use MyBuilder;
-
-my $builder = MyBuilder->new(
-  module_name       => 'CGI::Simple',
-  sign              => 1,
-  license           => 'perl',
-  dist_author       => 'Andy Armstrong <a...@hexten.net>',
-  dist_version_from => 'lib/CGI/Simple.pm',
-  requires          => {
-    'Test::More'       => 0,
-    'Test::NoWarnings' => 0,
-    'Test::Exception'  => 0,
-    'IO::Scalar'       => 0,
-    'File::Temp'       => 0,
-  },
-  add_to_cleanup => ['CGI-Simple-*'],
-);
-
-$builder->create_build_script();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/Changes new/CGI-Simple-1.280/Changes
--- old/CGI-Simple-1.25/Changes 2020-02-10 14:00:08.000000000 +0100
+++ new/CGI-Simple-1.280/Changes        2022-01-11 16:13:07.000000000 +0100
@@ -1,5 +1,15 @@
 Revision history for Perl extension CGI::Simple.
 
+1.280 2022-01-11 MANWAR
+      - Changed the version format from N.nn to N.nnn as requested.
+
+1.27  2022-01-06 MANWAR
+      - Removed unneeded Build.PL #11, thanks @haarg.
+      - Moved prereqs to correct phase #12, thanks @haarg.
+
+1.26  2022-01-02 MANWAR
+      - Dropped IO::Scalar prereq as suggested in PR #10, thanks @haarg.
+
 1.25  2020-02-10 MANWAR
       - Merged PR #9, thanks @ktat.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/MANIFEST 
new/CGI-Simple-1.280/MANIFEST
--- old/CGI-Simple-1.25/MANIFEST        2020-02-10 14:00:38.000000000 +0100
+++ new/CGI-Simple-1.280/MANIFEST       2022-01-11 16:14:50.000000000 +0100
@@ -1,13 +1,11 @@
 .travis.yml
-Build.PL
 Changes
-inc/MyBuilder.pm
 lib/CGI/Simple.pm
 lib/CGI/Simple/Cookie.pm
 lib/CGI/Simple/Standard.pm
 lib/CGI/Simple/Util.pm
 Makefile.PL
-MANIFEST               This list of files
+MANIFEST               This list of files
 README
 t/000.load.t
 t/020.cookie.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/META.json 
new/CGI-Simple-1.280/META.json
--- old/CGI-Simple-1.25/META.json       2020-02-10 14:00:38.000000000 +0100
+++ new/CGI-Simple-1.280/META.json      2022-01-11 16:14:50.000000000 +0100
@@ -4,7 +4,7 @@
       "Andy Armstrong <a...@hexten.net>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -30,10 +30,9 @@
             "ExtUtils::MakeMaker" : "0"
          }
       },
-      "runtime" : {
+      "test" : {
          "requires" : {
             "File::Temp" : "0",
-            "IO::Scalar" : "0",
             "Test::Exception" : "0",
             "Test::More" : "0",
             "Test::NoWarnings" : "0"
@@ -49,6 +48,6 @@
          "x_license" : "http://dev.perl.org/licenses/";
       }
    },
-   "version" : "1.25",
-   "x_serialization_backend" : "JSON::PP version 4.00"
+   "version" : "1.280",
+   "x_serialization_backend" : "JSON::PP version 4.02"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/META.yml 
new/CGI-Simple-1.280/META.yml
--- old/CGI-Simple-1.25/META.yml        2020-02-10 14:00:38.000000000 +0100
+++ new/CGI-Simple-1.280/META.yml       2022-01-11 16:14:48.000000000 +0100
@@ -4,10 +4,14 @@
   - 'Andy Armstrong <a...@hexten.net>'
 build_requires:
   ExtUtils::MakeMaker: '0'
+  File::Temp: '0'
+  Test::Exception: '0'
+  Test::More: '0'
+  Test::NoWarnings: '0'
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -17,13 +21,7 @@
   directory:
     - t
     - inc
-requires:
-  File::Temp: '0'
-  IO::Scalar: '0'
-  Test::Exception: '0'
-  Test::More: '0'
-  Test::NoWarnings: '0'
 resources:
   repository: http://github.com/manwar/CGI--Simple.git
-version: '1.25'
+version: '1.280'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/Makefile.PL 
new/CGI-Simple-1.280/Makefile.PL
--- old/CGI-Simple-1.25/Makefile.PL     2018-03-01 15:59:11.000000000 +0100
+++ new/CGI-Simple-1.280/Makefile.PL    2022-01-06 16:54:31.000000000 +0100
@@ -6,11 +6,10 @@
     AUTHOR        => 'Andy Armstrong <a...@hexten.net>',
     VERSION_FROM  => 'lib/CGI/Simple.pm',
     ABSTRACT_FROM => 'lib/CGI/Simple.pm',
-    PREREQ_PM     => {
+    TEST_REQUIRES     => {
         'Test::More'       => 0,
         'Test::NoWarnings' => 0,
         'Test::Exception'  => 0,
-        'IO::Scalar'       => 0,
         'File::Temp'       => 0,
     },
     dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
@@ -35,4 +34,18 @@
     };
 }
 
+if (!eval { ExtUtils::MakeMaker->VERSION(6.64) }) {
+    $conf{BUILD_REQUIRES} = {
+        %{ $conf{BUILD_REQUIRES} || {} },
+        %{ delete $conf{TEST_REQUIRES} || {} },
+    };
+}
+
+if (!eval { ExtUtils::MakeMaker->VERSION(6.5503) }) {
+    $conf{PREREQ_PM} = {
+        %{ $conf{PREREQ_PM} || {} },
+        %{ delete $conf{BUILD_REQUIRES} || {} },
+    };
+}
+
 WriteMakefile(%conf);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/inc/MyBuilder.pm 
new/CGI-Simple-1.280/inc/MyBuilder.pm
--- old/CGI-Simple-1.25/inc/MyBuilder.pm        2016-10-20 10:19:09.000000000 
+0200
+++ new/CGI-Simple-1.280/inc/MyBuilder.pm       1970-01-01 01:00:00.000000000 
+0100
@@ -1,88 +0,0 @@
-package MyBuilder;
-
-use base qw( Module::Build );
-
-sub create_build_script {
-  my ( $self, @args ) = @_;
-  $self->_auto_mm;
-  return $self->SUPER::create_build_script( @args );
-}
-
-sub _auto_mm {
-  my $self = shift;
-  my $mm   = $self->meta_merge;
-  my @meta = qw( homepage bugtracker MailingList repository );
-  for my $meta ( @meta ) {
-    next if exists $mm->{resources}{$meta};
-    my $auto = "_auto_$meta";
-    next unless $self->can( $auto );
-    my $av = $self->$auto();
-    $mm->{resources}{$meta} = $av if defined $av;
-  }
-  $self->meta_merge( $mm );
-}
-
-sub _auto_repository {
-  my $self = shift;
-  if ( -d '.svn' ) {
-    my $info = `svn info .`;
-    return $1 if $info =~ /^URL:\s+(.+)$/m;
-  }
-  elsif ( -d '.git' ) {
-    my $info = `git remote -v`;
-    return unless $info =~ /^origin\s+(.+)$/m;
-    my $url = $1;
-    # Special case: patch up github URLs
-    $url =~ s!^git\@github\.com:!git://github.com/!;
-    return $url;
-  }
-  return;
-}
-
-sub _auto_bugtracker {
-  'http://rt.cpan.org/NoAuth/Bugs.html?Dist=' . shift->dist_name;
-}
-
-sub ACTION_testauthor {
-  my $self = shift;
-  $self->test_files( 'xt/author' );
-  $self->ACTION_test;
-}
-
-sub ACTION_critic {
-  exec qw( perlcritic -1 -q -profile perlcriticrc lib/ ), glob 't/*.t';
-}
-
-sub ACTION_tags {
-  exec(
-    qw(
-     ctags -f tags --recurse --totals
-     --exclude=blib
-     --exclude=.svn
-     --exclude='*~'
-     --languages=Perl
-     t/ lib/
-     )
-  );
-}
-
-sub ACTION_tidy {
-  my $self = shift;
-
-  my @extra = qw( Build.PL );
-
-  my %found_files = map { %$_ } $self->find_pm_files,
-   $self->_find_file_by_type( 'pm', 't' ),
-   $self->_find_file_by_type( 'pm', 'inc' ),
-   $self->_find_file_by_type( 't',  't' );
-
-  my @files = ( keys %found_files,
-    map { $self->localize_file_path( $_ ) } @extra );
-
-  for my $file ( @files ) {
-    system 'perltidy', '-b', $file;
-    unlink "$file.bak" if $? == 0;
-  }
-}
-
-1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/lib/CGI/Simple/Cookie.pm 
new/CGI-Simple-1.280/lib/CGI/Simple/Cookie.pm
--- old/CGI-Simple-1.25/lib/CGI/Simple/Cookie.pm        2020-02-10 
13:58:53.000000000 +0100
+++ new/CGI-Simple-1.280/lib/CGI/Simple/Cookie.pm       2022-01-11 
16:10:22.000000000 +0100
@@ -13,7 +13,7 @@
 use strict;
 use warnings;
 use vars '$VERSION';
-$VERSION = '1.25';
+$VERSION = '1.280';
 use CGI::Simple::Util qw(rearrange unescape escape);
 use overload '""' => \&as_string, 'cmp' => \&compare, 'fallback' => 1;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/lib/CGI/Simple/Standard.pm 
new/CGI-Simple-1.280/lib/CGI/Simple/Standard.pm
--- old/CGI-Simple-1.25/lib/CGI/Simple/Standard.pm      2020-02-10 
13:58:53.000000000 +0100
+++ new/CGI-Simple-1.280/lib/CGI/Simple/Standard.pm     2022-01-11 
16:10:35.000000000 +0100
@@ -8,7 +8,7 @@
  $NO_UNDEF_PARAMS $USE_PARAM_SEMICOLONS $HEADERS_ONCE
  $NPH $DEBUG $NO_NULL $FATAL *in %EXPORT_TAGS $AUTOLOAD );
 
-$VERSION = "1.25";
+$VERSION = "1.280";
 
 %EXPORT_TAGS = (
   ':html'     => [qw(:misc)],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/lib/CGI/Simple/Util.pm 
new/CGI-Simple-1.280/lib/CGI/Simple/Util.pm
--- old/CGI-Simple-1.25/lib/CGI/Simple/Util.pm  2020-02-10 13:58:53.000000000 
+0100
+++ new/CGI-Simple-1.280/lib/CGI/Simple/Util.pm 2022-01-11 16:10:49.000000000 
+0100
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 use vars qw( $VERSION @EXPORT_OK @ISA $UTIL );
-$VERSION = '1.25';
+$VERSION = '1.280';
 require Exporter;
 @ISA       = qw( Exporter );
 @EXPORT_OK = qw(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/lib/CGI/Simple.pm 
new/CGI-Simple-1.280/lib/CGI/Simple.pm
--- old/CGI-Simple-1.25/lib/CGI/Simple.pm       2020-02-10 13:58:53.000000000 
+0100
+++ new/CGI-Simple-1.280/lib/CGI/Simple.pm      2022-01-11 16:09:49.000000000 
+0100
@@ -13,7 +13,7 @@
      $NO_UNDEF_PARAMS, $USE_PARAM_SEMICOLONS, $PARAM_UTF8, $HEADERS_ONCE,
      $NPH, $DEBUG, $NO_NULL, $FATAL);
 
-$VERSION = "1.25";
+$VERSION = "1.280";
 
 # you can hard code the global variable settings here if you want.
 # warning - do not delete the unless defined $VAR part unless you
@@ -1491,7 +1491,7 @@
 
 =head1 VERSION
 
-This document describes CGI::Simple version 1.25.
+This document describes CGI::Simple version 1.280.
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/t/041.multipart.t 
new/CGI-Simple-1.280/t/041.multipart.t
--- old/CGI-Simple-1.25/t/041.multipart.t       2016-10-20 10:19:09.000000000 
+0200
+++ new/CGI-Simple-1.280/t/041.multipart.t      2022-01-02 18:51:35.000000000 
+0100
@@ -3,8 +3,6 @@
 use Test::More tests => 6;
 use Test::NoWarnings;
 use Config;
-use Data::Dumper;
-use IO::Scalar;
 
 use CGI::Simple ( -default );
 
@@ -40,7 +38,16 @@
 EOF
 $ENV{CONTENT_LENGTH} = length $body;
 
-my $h = IO::Scalar->new( \$body );
+my $h;
+if ("$]" < 5.008) {
+  require File::Temp;
+  $h = File::Temp->new(TEMPLATE => 'CGI-Simple-multipart-XXXXXX', TMPDIR => 1);
+  $h->print($body);
+  $h->seek(0, 0);
+}
+else {
+  open $h, '<', \$body;
+}
 my $q = CGI::Simple->new( $h );
 ok( $q, "CGI::Simple::new()" );
 is_deeply(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-Simple-1.25/t/upload_info.t 
new/CGI-Simple-1.280/t/upload_info.t
--- old/CGI-Simple-1.25/t/upload_info.t 2016-10-20 10:19:09.000000000 +0200
+++ new/CGI-Simple-1.280/t/upload_info.t        2022-01-02 18:51:35.000000000 
+0100
@@ -1,7 +1,6 @@
 use Test::More tests => 3;
 use strict;
 use warnings;
-use IO::Scalar;
 
 use CGI::Simple;
 # Set up a CGI environment
@@ -44,7 +43,16 @@
 EOF
 $ENV{CONTENT_LENGTH} = length $body;
 
-my $h = IO::Scalar->new( \$body );
+my $h;
+if ("$]" < 5.008) {
+  require File::Temp;
+  $h = File::Temp->new(TEMPLATE => 'CGI-Simple-upload_info-XXXXXX', TMPDIR => 
1);
+  $h->print($body);
+  $h->seek(0, 0);
+}
+else {
+  open $h, '<', \$body;
+}
 my $q = CGI::Simple->new( $h );
 ok( $q->upload_info( $q->param( 'file0' ), 'mime' ) eq 'image/png',
   'Guess mime for  image/png' );

Reply via email to