Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Test-Inter for openSUSE:Factory
checked in at 2023-03-11 18:23:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Inter (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Inter.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Inter"
Sat Mar 11 18:23:36 2023 rev:16 rq:1070686 version:1.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Inter/perl-Test-Inter.changes
2019-03-18 10:36:35.059514825 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Test-Inter.new.31432/perl-Test-Inter.changes
2023-03-11 18:24:27.831013137 +0100
@@ -1,0 +2,13 @@
+Wed Mar 8 03:11:28 UTC 2023 - Tina Müller <[email protected]>
+
+- updated to 1.10
+ see /usr/share/doc/packages/perl-Test-Inter/Changes
+
+ 1.10 2023-03-07
+ - A number of modules were included as test dependencies that are only used
+ by the author when preparing releases. These have been removed as
+ dependencies. Petr Pisar on GitHub #3
+ - Added github tags for all releases. Tomasz Kloczko on GitHub #4
+ - Fixed a bug where feature wasn't working correctly.
+
+-------------------------------------------------------------------
Old:
----
Test-Inter-1.09.tar.gz
New:
----
Test-Inter-1.10.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Inter.spec ++++++
--- /var/tmp/diff_new_pack.sKum4z/_old 2023-03-11 18:24:28.331015743 +0100
+++ /var/tmp/diff_new_pack.sKum4z/_new 2023-03-11 18:24:28.335015764 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Inter
#
-# Copyright (c) 2019 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
@@ -16,23 +16,18 @@
#
+%define cpan_name Test-Inter
Name: perl-Test-Inter
-Version: 1.09
+Version: 1.10
Release: 0
-%define cpan_name Test-Inter
-Summary: Framework for more readable interactive test scripts
License: Artistic-1.0 OR GPL-1.0-or-later
-Group: Development/Libraries/Perl
-Url: https://metacpan.org/release/%{cpan_name}
+Summary: Framework for more readable interactive test scripts
+URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/S/SB/SBECK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(File::Find::Rule)
-BuildRequires: perl(Test::Pod) >= 1.00
-BuildRequires: perl(Test::Pod::Coverage) >= 1.00
%{perl_requires}
%description
@@ -55,12 +50,13 @@
nearly as useful as they could be.
%prep
-%setup -q -n %{cpan_name}-%{version}
-find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+%autosetup -n %{cpan_name}-%{version}
+
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%make_build
%check
make test
@@ -71,7 +67,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes examples README
%license LICENSE
++++++ Test-Inter-1.09.tar.gz -> Test-Inter-1.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Inter-1.09/Changes new/Test-Inter-1.10/Changes
--- old/Test-Inter-1.09/Changes 2019-03-14 18:36:42.000000000 +0100
+++ new/Test-Inter-1.10/Changes 2023-03-07 14:20:27.000000000 +0100
@@ -2,6 +2,13 @@
Sullivan Beck ([email protected])
Any suggestions, bug reports, or donations :-) should be sent to me.
+1.10 2023-03-07
+ - A number of modules were included as test dependencies that are only used
+ by the author when preparing releases. These have been removed as
+ dependencies. Petr Pisar on GitHub #3
+ - Added github tags for all releases. Tomasz Kloczko on GitHub #4
+ - Fixed a bug where feature wasn't working correctly.
+
1.09 2019-04-13
- Added test directory to directories added in the use_lib method
automatically.
- Added functionality to the testdir method
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Inter-1.09/MANIFEST.SKIP
new/Test-Inter-1.10/MANIFEST.SKIP
--- old/Test-Inter-1.09/MANIFEST.SKIP 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Inter-1.10/MANIFEST.SKIP 2023-03-07 14:43:26.000000000 +0100
@@ -0,0 +1,16 @@
+^\.cover
+^\.git
+^\.travis.yml
+
+# Makemaker generated files and dirs.
+^MANIFEST\.
+^Makefile$
+^blib/
+^MakeMaker-\d
+^MYMETA\.
+
+# Temp, old and emacs backup files.
+~$
+\.old$
+^#.*#$
+^\.#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Inter-1.09/META.json
new/Test-Inter-1.10/META.json
--- old/Test-Inter-1.09/META.json 2019-03-14 18:37:52.000000000 +0100
+++ new/Test-Inter-1.10/META.json 2023-03-07 14:43:27.000000000 +0100
@@ -4,13 +4,13 @@
"Sullivan Beck ([email protected])"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter
version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.24, 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" : "Test-Inter",
"no_index" : {
@@ -40,27 +40,28 @@
},
"test" : {
"requires" : {
- "File::Find::Rule" : "0",
- "Test::More" : "0",
- "Test::Pod" : "1.00",
- "Test::Pod::Coverage" : "1.00"
+ "Test::More" : "0"
}
}
},
"provides" : {
"Test::Inter" : {
"file" : "lib/Test/Inter.pm",
- "version" : "1.09"
+ "version" : "1.10"
}
},
"release_status" : "stable",
"resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/SBECK-github/Test-Inter/issues"
+ },
+ "homepage" : "https://github.com/SBECK-github/Test-Inter",
"repository" : {
"type" : "git",
"url" : "git://github.com/SBECK-github/Test-Inter.git",
"web" : "https://github.com/SBECK-github/Test-Inter"
}
},
- "version" : "1.09",
- "x_serialization_backend" : "JSON::PP version 4.01"
+ "version" : "1.10",
+ "x_serialization_backend" : "JSON::PP version 2.27400_02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Inter-1.09/META.yml new/Test-Inter-1.10/META.yml
--- old/Test-Inter-1.09/META.yml 2019-03-14 18:37:52.000000000 +0100
+++ new/Test-Inter-1.10/META.yml 2023-03-07 14:43:26.000000000 +0100
@@ -4,14 +4,11 @@
- 'Sullivan Beck ([email protected])'
build_requires:
ExtUtils::MakeMaker: '0'
- File::Find::Rule: '0'
Test::More: '0'
- Test::Pod: '1.00'
- Test::Pod::Coverage: '1.00'
configure_requires:
ExtUtils::MakeMaker: '6.30'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,13 +21,15 @@
provides:
Test::Inter:
file: lib/Test/Inter.pm
- version: '1.09'
+ version: '1.10'
requires:
Cwd: '0'
File::Basename: '0'
IO::File: '0'
perl: '5.006'
resources:
+ bugtracker: https://github.com/SBECK-github/Test-Inter/issues
+ homepage: https://github.com/SBECK-github/Test-Inter
repository: git://github.com/SBECK-github/Test-Inter.git
-version: '1.09'
+version: '1.10'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Inter-1.09/Makefile.PL
new/Test-Inter-1.10/Makefile.PL
--- old/Test-Inter-1.09/Makefile.PL 2019-03-14 18:37:51.000000000 +0100
+++ new/Test-Inter-1.10/Makefile.PL 2023-03-07 14:43:26.000000000 +0100
@@ -22,10 +22,7 @@
);
my %test_prereq = (
- 'File::Find::Rule' => '0',
'Test::More' => '0',
- 'Test::Pod' => '1.00',
- 'Test::Pod::Coverage' => '1.00',
);
my %config_prereq = (
@@ -41,7 +38,7 @@
WriteMakefile(
NAME => "Test::Inter",
- VERSION => "1.09",
+ VERSION => "1.10",
ABSTRACT => "framework for more readable interactive test scripts",
LICENSE => "perl",
($EU_MM_V >= 6.48
@@ -62,7 +59,7 @@
provides => {
'Test::Inter' => {
file => 'lib/Test/Inter.pm',
- version => '1.09',
+ version => '1.10',
},
},
@@ -76,6 +73,10 @@
version => 2,
},
resources => {
+ bugtracker => {
+ web => 'https://github.com/SBECK-github/Test-Inter/issues',
+ },
+ homepage => 'https://github.com/SBECK-github/Test-Inter',
repository => {
type => 'git',
web => 'https://github.com/SBECK-github/Test-Inter',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Inter-1.09/lib/Test/Inter.pm
new/Test-Inter-1.10/lib/Test/Inter.pm
--- old/Test-Inter-1.09/lib/Test/Inter.pm 2019-03-13 19:58:45.000000000
+0100
+++ new/Test-Inter-1.10/lib/Test/Inter.pm 2023-03-07 14:19:30.000000000
+0100
@@ -14,7 +14,7 @@
use Cwd 'abs_path';
our($VERSION);
-$VERSION = '1.09';
+$VERSION = '1.10';
###############################################################################
# BASE METHODS
@@ -307,7 +307,8 @@
$main::TI_NUM++ unless ($mode eq 'feature');
my $pack = caller;
- my @inc = map { "unshift(\@INC,'$_');\n" }
($$self{'libdir'},$$self{'testdir'});
+ my @inc = map { "unshift(\@INC,'$_');\n" }
+ ($$self{'libdir'},$$self{'testdir'});
my($desc,$code);
@@ -321,7 +322,9 @@
} else {
$module = qq['$module'] unless $self->_is_module_name($module);
$desc = "require $module";
- my $p = "package"; # So the following do not get picked up by
cpantorpm-depreq
+ # So the following do not get picked up by cpantorpm-depreq or other
+ # tools that try to determine dependencies and prereqs
+ my $p = "package";
my $r = "require";
$code = <<REQUIRE;
$p $pack;
@@ -426,7 +429,9 @@
my @inc = map { "unshift(\@INC,'$_');\n" }
($$self{'libdir'},$$self{'testdir'});
- my $p = "package"; # So the following do not get picked up by
cpantorpm-depreq
+ # So the following do not get picked up by cpantorpm-depreq or other
+ # tools that try to determine dependencies and prereqs
+ my $p = "package";
$code = <<USE;
$p $pack;
@inc
@@ -967,13 +972,15 @@
if (exists $opts{'feature'}) {
foreach my $feature (@{ $opts{'feature'} }) {
$skip = "Required feature unavailable: $feature", last
- if (! exists $$self{'features'}{$feature});
+ if (! exists $$self{'features'}{$feature} ||
+ ! $$self{'features'}{$feature});
}
}
if (exists $opts{'disable'} && ! $skip) {
foreach my $feature (@{ $opts{'disable'} }) {
$skip = "Disabled due to feature being available: $feature", last
- if (exists $$self{'features'}{$feature});
+ if (exists $$self{'features'}{$feature} &&
+ $$self{'features'}{$feature});
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Inter-1.09/t/_pod.t new/Test-Inter-1.10/t/_pod.t
--- old/Test-Inter-1.09/t/_pod.t 2019-03-14 18:37:51.000000000 +0100
+++ new/Test-Inter-1.10/t/_pod.t 2023-03-07 14:43:26.000000000 +0100
@@ -2,16 +2,23 @@
use warnings 'all';
use strict;
-use Test::More;
+
+BEGIN {
+ use Test::More;
+ # Don't run tests for installs
+ unless ($ENV{RELEASE_TESTING}) {
+ plan skip_all => 'Author tests not required for installation (set
RELEASE_TESTING to test)';
+ }
+}
+
+# CPANTORPM-DEPREQ REQEXCL File::Basename
+# CPANTORPM-DEPREQ REQEXCL Cwd
+# CPANTORPM-DEPREQ REQEXCL Test::Pod
+
use File::Basename;
use Cwd 'abs_path';
use Test::Pod 1.00;
-# Don't run tests for installs
-unless ($ENV{RELEASE_TESTING}) {
- plan skip_all => 'Author tests not required for installation (set
RELEASE_TESTING to test)';
-}
-
# Figure out the directories. This comes from Test::Inter.
my($moddir,$testdir,$libdir);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Inter-1.09/t/_pod_coverage.t
new/Test-Inter-1.10/t/_pod_coverage.t
--- old/Test-Inter-1.09/t/_pod_coverage.t 2019-03-14 18:37:51.000000000
+0100
+++ new/Test-Inter-1.10/t/_pod_coverage.t 2023-03-07 14:43:26.000000000
+0100
@@ -2,16 +2,23 @@
use warnings 'all';
use strict;
-use Test::More;
+
+BEGIN {
+ use Test::More;
+ # Don't run tests for installs
+ unless ($ENV{RELEASE_TESTING}) {
+ plan skip_all => 'Author tests not required for installation (set
RELEASE_TESTING to test)';
+ }
+}
+
+# CPANTORPM-DEPREQ REQEXCL File::Basename
+# CPANTORPM-DEPREQ REQEXCL Cwd
+# CPANTORPM-DEPREQ REQEXCL Test::Pod::Coverage
+
use File::Basename;
use Cwd 'abs_path';
use Test::Pod::Coverage 1.00;
-# Don't run tests for installs
-unless ($ENV{RELEASE_TESTING}) {
- plan skip_all => 'Author tests not required for installation (set
RELEASE_TESTING to test)';
-}
-
# Figure out the directories. This comes from Test::Inter.
my($moddir,$testdir,$libdir);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Inter-1.09/t/_version.t
new/Test-Inter-1.10/t/_version.t
--- old/Test-Inter-1.09/t/_version.t 2019-03-14 18:37:51.000000000 +0100
+++ new/Test-Inter-1.10/t/_version.t 2023-03-07 14:43:26.000000000 +0100
@@ -3,14 +3,21 @@
use warnings 'all';
use strict;
use Test::Inter;
-use IO::File;
-use File::Find::Rule;
-my $ti = new Test::Inter $0;
+my $ti;
-unless ($ENV{RELEASE_TESTING}) {
- $ti->skip_all('Author tests not required for installation (set
RELEASE_TESTING to test)');
+BEGIN {
+ $ti = new Test::Inter $0;
+ unless ($ENV{RELEASE_TESTING}) {
+ $ti->skip_all('Author tests not required for installation (set
RELEASE_TESTING to test)');
+ }
}
+# CPANTORPM-DEPREQ REQEXCL IO::File
+# CPANTORPM-DEPREQ REQEXCL File::Find::Rule
+
+use IO::File;
+use File::Find::Rule;
+
# Figure out what module we are in. A module is in a directory:
# My-Mod-Name-1.00
# It includes any number of .pm files, each of which contain a single