Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Carp-Assert for
openSUSE:Factory checked in at 2023-03-10 22:08:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Carp-Assert (Old)
and /work/SRC/openSUSE:Factory/.perl-Carp-Assert.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Carp-Assert"
Fri Mar 10 22:08:48 2023 rev:24 rq:1070677 version:0.22
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Carp-Assert/perl-Carp-Assert.changes
2015-04-15 16:22:27.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Carp-Assert.new.31432/perl-Carp-Assert.changes
2023-03-10 22:09:09.625618852 +0100
@@ -1,0 +2,13 @@
+Sun Mar 5 03:06:07 UTC 2023 - Tina Müller <[email protected]>
+
+- updated to 0.22
+ see /usr/share/doc/packages/perl-Carp-Assert/Changes
+
+ 0.22 2023-03-04
+ - Removed shouldn't. As of perl 5.37.9 use of apostrophe
+ as a package separator warns. As of 5.42 it will be removed.
+ Really Schwern, you should have resisted the urge. :-)
+ - Changed the Makefile.PL metadata to point at my repo, not
+ the Schwern repo.
+
+-------------------------------------------------------------------
Old:
----
Carp-Assert-0.21.tar.gz
New:
----
Carp-Assert-0.22.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Carp-Assert.spec ++++++
--- /var/tmp/diff_new_pack.1zg5HA/_old 2023-03-10 22:09:10.061620838 +0100
+++ /var/tmp/diff_new_pack.1zg5HA/_new 2023-03-10 22:09:10.085620947 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Carp-Assert
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%define cpan_name Carp-Assert
Name: perl-Carp-Assert
-Version: 0.21
+Version: 0.22
Release: 0
-%define cpan_name Carp-Assert
-Summary: executable comments
-License: Artistic-1.0 or GPL-1.0+
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Carp-Assert/
-Source:
http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
+License: Artistic-1.0 OR GPL-1.0-or-later
+Summary: Executable comments
+URL: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/Y/YV/YVES/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.88
@@ -37,7 +35,7 @@
occur."
- Dan Quayle
-Carp::Assert is intended for a purpose like the ANSI C library
+Carp::Assert is intended for a purpose like the ANSI C library at
http://en.wikipedia.org/wiki/Assert.h. If you're already familiar with
assert.h, then you can probably skip this and go straight to the FUNCTIONS
section.
@@ -112,14 +110,14 @@
assert( $life =~ /!$/ );
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -127,7 +125,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes README
%changelog
++++++ Carp-Assert-0.21.tar.gz -> Carp-Assert-0.22.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Carp-Assert-0.21/Changes new/Carp-Assert-0.22/Changes
--- old/Carp-Assert-0.21/Changes 2014-06-25 23:17:04.000000000 +0200
+++ new/Carp-Assert-0.22/Changes 2023-03-04 15:08:26.000000000 +0100
@@ -1,5 +1,12 @@
Revision history for Perl module Carp::Assert
+0.22 2023-03-04
+ - Removed shouldn't. As of perl 5.37.9 use of apostrophe
+ as a package separator warns. As of 5.42 it will be removed.
+ Really Schwern, you should have resisted the urge. :-)
+ - Changed the Makefile.PL metadata to point at my repo, not
+ the Schwern repo.
+
0.21 2014-06-25
- Fixed typos in pod. RT#95017 - thanks Daniel Lintott.
- Added links to a number of modules in SEE ALSO.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Carp-Assert-0.21/MANIFEST
new/Carp-Assert-0.22/MANIFEST
--- old/Carp-Assert-0.21/MANIFEST 2014-06-25 23:22:04.000000000 +0200
+++ new/Carp-Assert-0.22/MANIFEST 2023-03-04 15:08:26.000000000 +0100
@@ -1,11 +1,11 @@
Changes
INSTALL
-MANIFEST
+lib/Carp/Assert.pm
Makefile.PL
+MANIFEST
+META.json Module JSON meta-data (added by MakeMaker)
+META.yml Module YAML meta-data (added by MakeMaker)
README
-lib/Carp/Assert.pm
t/10enabled.t
t/20disabled.t
t/embedded-Carp-Assert.t
-META.yml Module YAML meta-data (added by
MakeMaker)
-META.json Module JSON meta-data (added by
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Carp-Assert-0.21/META.json
new/Carp-Assert-0.22/META.json
--- old/Carp-Assert-0.21/META.json 2014-06-25 23:22:04.000000000 +0200
+++ new/Carp-Assert-0.22/META.json 2023-03-04 15:09:14.000000000 +0100
@@ -4,13 +4,13 @@
"unknown"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter
version 2.141170",
+ "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Carp-Assert",
"no_index" : {
@@ -50,9 +50,10 @@
"resources" : {
"repository" : {
"type" : "git",
- "url" : "git://github.com/schwern/Carp-Assert.git",
- "web" : "https://github.com/schwern/Carp-Assert"
+ "url" : "git://github.com/demerphq/Carp-Assert.git",
+ "web" : "https://github.com/demerphq/Carp-Assert"
}
},
- "version" : "0.21"
+ "version" : "0.22",
+ "x_serialization_backend" : "JSON::PP version 4.06"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Carp-Assert-0.21/META.yml
new/Carp-Assert-0.22/META.yml
--- old/Carp-Assert-0.21/META.yml 2014-06-25 23:22:03.000000000 +0200
+++ new/Carp-Assert-0.22/META.yml 2023-03-04 15:09:14.000000000 +0100
@@ -8,7 +8,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version
2.141170'
+generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -26,5 +26,6 @@
vars: '0'
warnings: '0'
resources:
- repository: git://github.com/schwern/Carp-Assert.git
-version: '0.21'
+ repository: git://github.com/demerphq/Carp-Assert.git
+version: '0.22'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Carp-Assert-0.21/Makefile.PL
new/Carp-Assert-0.22/Makefile.PL
--- old/Carp-Assert-0.21/Makefile.PL 2014-06-25 23:16:19.000000000 +0200
+++ new/Carp-Assert-0.22/Makefile.PL 2023-03-04 15:08:26.000000000 +0100
@@ -49,8 +49,8 @@
resources => {
repository => {
type => 'git',
- web => 'https://github.com/schwern/Carp-Assert',
- url => 'git://github.com/schwern/Carp-Assert.git',
+ web => 'https://github.com/demerphq/Carp-Assert',
+ url => 'git://github.com/demerphq/Carp-Assert.git',
},
},
})),
@@ -107,15 +107,24 @@
my($self, $orig_perl, $tests) = @_;
my @perls = ($orig_perl);
- push @perls, qw(bleadperl
- perl5.6.1
- perl5.005_03
- perl5.004_05
- perl5.004_04
- perl5.004
- )
- if $ENV{PERL_TEST_ALL};
-
+ if ($ENV{PERL_TEST_ALL} and $ENV{HOME}) {
+ chomp(my @list = `perlbrew list 2>&1`);
+ my %candidate;
+ foreach my $name (@list) {
+ $name=~s/^\s+//;
+ $name=~s/\s+\z//;
+ next unless $name =~ /^(perl-\d+\.\d+)\.(\d+)\z/
+ or $name =~ /^(latest_blead)\z/;
+ my $major = $1;
+ my $minor = $2 // 0;
+ my $path = "$ENV{HOME}/perl5/perlbrew/perls/$name/bin/perl";
+ if (-e $path) {
+ $candidate{$major} = [$minor, $path]
+ if !$candidate{$major} or $candidate{$major}[0] <
$minor;
+ }
+ }
+ push @perls, sort map { $_->[-1] } values %candidate;
+ }
my $out;
foreach my $perl (@perls) {
$out .= $self->SUPER::test_via_harness($perl, $tests);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Carp-Assert-0.21/lib/Carp/Assert.pm
new/Carp-Assert-0.22/lib/Carp/Assert.pm
--- old/Carp-Assert-0.21/lib/Carp/Assert.pm 2014-06-25 23:17:39.000000000
+0200
+++ new/Carp-Assert-0.22/lib/Carp/Assert.pm 2023-02-23 12:17:59.000000000
+0100
@@ -8,7 +8,7 @@
use vars qw(@ISA $VERSION %EXPORT_TAGS);
BEGIN {
- $VERSION = '0.21';
+ $VERSION = '0.22';
@ISA = qw(Exporter);
@@ -392,18 +392,6 @@
return undef;
}
-# Sorry, I couldn't resist.
-sub shouldn't ($$) { # emacs cperl-mode madness #' sub {
- my $env_ndebug = exists $ENV{PERL_NDEBUG} ? $ENV{PERL_NDEBUG}
- : $ENV{'NDEBUG'};
- if( $env_ndebug ) {
- return undef;
- }
- else {
- shouldnt($_[0], $_[1]);
- }
-}
-
=back
=head1 Debugging vs Production
@@ -519,11 +507,6 @@
affirm() mucks with the expression's caller and it is run in an eval
so anything that checks $^S will be wrong.
-=head2 C<shouldn't>
-
-Yes, there is a C<shouldn't> routine. It mostly works, but you B<must>
-put the C<if DEBUG> after it.
-
=head2 missing C<if DEBUG>
It would be nice if we could warn about missing C<if DEBUG>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Carp-Assert-0.21/t/10enabled.t
new/Carp-Assert-0.22/t/10enabled.t
--- old/Carp-Assert-0.21/t/10enabled.t 2014-06-25 18:58:57.000000000 +0200
+++ new/Carp-Assert-0.22/t/10enabled.t 2023-02-23 12:17:59.000000000 +0100
@@ -3,7 +3,7 @@
# Test with assert on.
use strict;
-use Test::More tests => 8;
+use Test::More tests => 7;
# Make sure we're shielded against the user possibly having
# NDEBUG or PERL_NDEBUG set. Localize the changes because changes
@@ -15,11 +15,6 @@
Carp::Assert->import;
}
-# shouldn't makes its decision at run-time
-local %ENV = %ENV;
-delete @ENV{qw(PERL_NDEBUG NDEBUG)};
-
-
eval { assert(1==0) if DEBUG; };
like $@, '/^Assertion failed/i';
@@ -46,7 +41,3 @@
eval { shouldnt('up', 'up') };
like $@, '/^Assertion \(.*\) failed/i';
-
-
-eval { shouldn't('up', 'up') };
-like $@, '/^Assertion \(.*\) failed/i';