Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Archive-Peek for
openSUSE:Factory checked in at 2021-11-20 02:38:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Archive-Peek (Old)
and /work/SRC/openSUSE:Factory/.perl-Archive-Peek.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Archive-Peek"
Sat Nov 20 02:38:44 2021 rev:6 rq:931791 version:0.37
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Archive-Peek/perl-Archive-Peek.changes
2011-12-25 17:38:03.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Archive-Peek.new.1895/perl-Archive-Peek.changes
2021-11-20 02:39:44.856659894 +0100
@@ -1,0 +2,15 @@
+Sun Nov 14 03:05:59 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 0.37
+ see /usr/share/doc/packages/perl-Archive-Peek/CHANGES
+
+ 0.37 Fri Nov 12 22:23:12 EST 2021
+ - update repository metadata (Zakariyya Mughal)
+
+ 0.36 Fri Nov 12 21:40:27 EST 2021
+ - add repository metadata (thanks David Steinbrunner)
+ - port from Moose to Moo and Type::Tiny (Zakariyya Mughal)
+ - make prereqs more specific with respect to phase (Zakariyya Mughal)
+ - add negative test (Zakariyya Mughal)
+
+-------------------------------------------------------------------
Old:
----
Archive-Peek-0.35.tar.gz
New:
----
Archive-Peek-0.37.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Archive-Peek.spec ++++++
--- /var/tmp/diff_new_pack.E8wddg/_old 2021-11-20 02:39:45.284658482 +0100
+++ /var/tmp/diff_new_pack.E8wddg/_new 2021-11-20 02:39:45.288658469 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Archive-Peek
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,34 +12,30 @@
# 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 Archive-Peek
Name: perl-Archive-Peek
-Version: 0.35
+Version: 0.37
Release: 0
-%define cpan_name Archive-Peek
Summary: Peek into archives without extracting them
-License: Artistic-1.0 or GPL-1.0+
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Archive-Peek/
-Source:
http://www.cpan.org/authors/id/L/LB/LBROCARD/%{cpan_name}-%{version}.tar.gz
+License: Artistic-1.0 OR GPL-1.0-or-later
+URL: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/Z/ZM/ZMUGHAL/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Archive::Tar)
BuildRequires: perl(Archive::Zip)
-BuildRequires: perl(Moose)
-BuildRequires: perl(MooseX::Types::Path::Class)
-#BuildRequires: perl(Archive::Peek)
-#BuildRequires: perl(Archive::Peek::Tar)
-#BuildRequires: perl(Archive::Peek::Zip)
-#BuildRequires: perl(Archive::Zip::MemberRead)
+BuildRequires: perl(Moo)
+BuildRequires: perl(Types::Path::Tiny)
Requires: perl(Archive::Tar)
Requires: perl(Archive::Zip)
-Requires: perl(Moose)
-Requires: perl(MooseX::Types::Path::Class)
+Requires: perl(Moo)
+Requires: perl(Types::Path::Tiny)
%{perl_requires}
%description
@@ -48,14 +44,14 @@
files, you should install IO::Uncompress::Bunzip2.
%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
@@ -63,7 +59,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc CHANGES README
%changelog
++++++ Archive-Peek-0.35.tar.gz -> Archive-Peek-0.37.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Archive-Peek-0.35/CHANGES
new/Archive-Peek-0.37/CHANGES
--- old/Archive-Peek-0.35/CHANGES 2011-09-26 21:21:37.000000000 +0200
+++ new/Archive-Peek-0.37/CHANGES 2021-11-13 04:23:14.000000000 +0100
@@ -1,5 +1,14 @@
Revision history for Perl module Archive::Peek:
+0.37 Fri Nov 12 22:23:12 EST 2021
+ - update repository metadata (Zakariyya Mughal)
+
+0.36 Fri Nov 12 21:40:27 EST 2021
+ - add repository metadata (thanks David Steinbrunner)
+ - port from Moose to Moo and Type::Tiny (Zakariyya Mughal)
+ - make prereqs more specific with respect to phase (Zakariyya Mughal)
+ - add negative test (Zakariyya Mughal)
+
0.35 Mon Sep 26 20:21:30 BST 2011
- add support for .tar.bz2 (as suggested by Fabrizio Regalli)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Archive-Peek-0.35/MANIFEST
new/Archive-Peek-0.37/MANIFEST
--- old/Archive-Peek-0.35/MANIFEST 2011-09-26 20:50:17.000000000 +0200
+++ new/Archive-Peek-0.37/MANIFEST 2021-11-13 04:25:59.000000000 +0100
@@ -4,10 +4,12 @@
lib/Archive/Peek/Zip.pm
Makefile.PL
MANIFEST This list of files
+MANIFEST.SKIP
README
t/archive.tar.bz2
t/archive.tgz
t/archive.zip
t/pod.t
t/simple.t
-META.yml Module meta-data (added by MakeMaker)
+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/Archive-Peek-0.35/MANIFEST.SKIP
new/Archive-Peek-0.37/MANIFEST.SKIP
--- old/Archive-Peek-0.35/MANIFEST.SKIP 1970-01-01 01:00:00.000000000 +0100
+++ new/Archive-Peek-0.37/MANIFEST.SKIP 2021-11-13 02:43:21.000000000 +0100
@@ -0,0 +1,10 @@
+Archive-Peek-*
+
+Makefile$
+Makefile\.old
+MYMETA\.(json|yml)
+
+^\.git
+^\.github/
+\.swp$
+^\.vscode
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Archive-Peek-0.35/META.json
new/Archive-Peek-0.37/META.json
--- old/Archive-Peek-0.35/META.json 1970-01-01 01:00:00.000000000 +0100
+++ new/Archive-Peek-0.37/META.json 2021-11-13 04:25:59.000000000 +0100
@@ -0,0 +1,67 @@
+{
+ "abstract" : "Peek into archives without extracting them",
+ "author" : [
+ "Leon Brocard <[email protected]>"
+ ],
+ "dynamic_config" : 1,
+ "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
+ },
+ "name" : "Archive-Peek",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "develop" : {
+ "requires" : {
+ "Test::Pod" : "1.14"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Archive::Tar" : "0",
+ "Archive::Zip" : "0",
+ "Carp" : "0",
+ "Moo" : "0",
+ "Types::Path::Tiny" : "0"
+ }
+ },
+ "test" : {
+ "requires" : {
+ "File::Temp" : "0",
+ "Test::More" : "0"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/acme/archive-peek/issues"
+ },
+ "repository" : {
+ "type" : "git",
+ "url" : "git://github.com/acme/archive-peek.git",
+ "web" : "https://github.com/acme/archive-peek"
+ }
+ },
+ "version" : "0.37",
+ "x_serialization_backend" : "JSON::PP version 4.06"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Archive-Peek-0.35/META.yml
new/Archive-Peek-0.37/META.yml
--- old/Archive-Peek-0.35/META.yml 2011-09-26 21:21:59.000000000 +0200
+++ new/Archive-Peek-0.37/META.yml 2021-11-13 04:25:59.000000000 +0100
@@ -1,26 +1,32 @@
---- #YAML:1.0
-name: Archive-Peek
-version: 0.35
-abstract: Peek into archives without extracting them
+---
+abstract: 'Peek into archives without extracting them'
author:
- - Leon Brocard <[email protected]>
-license: perl
-distribution_type: module
-configure_requires:
- ExtUtils::MakeMaker: 0
+ - 'Leon Brocard <[email protected]>'
build_requires:
- ExtUtils::MakeMaker: 0
-requires:
- Archive::Tar: 0
- Archive::Zip: 0
- Moose: 0
- MooseX::Types::Path::Class: 0
- Test::More: 0
-no_index:
- directory:
- - t
- - inc
-generated_by: ExtUtils::MakeMaker version 6.56
+ ExtUtils::MakeMaker: '0'
+ File::Temp: '0'
+ Test::More: '0'
+configure_requires:
+ ExtUtils::MakeMaker: '0'
+dynamic_config: 1
+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
- version: 1.4
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: '1.4'
+name: Archive-Peek
+no_index:
+ directory:
+ - t
+ - inc
+requires:
+ Archive::Tar: '0'
+ Archive::Zip: '0'
+ Carp: '0'
+ Moo: '0'
+ Types::Path::Tiny: '0'
+resources:
+ bugtracker: https://github.com/acme/archive-peek/issues
+ repository: git://github.com/acme/archive-peek.git
+version: '0.37'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Archive-Peek-0.35/Makefile.PL
new/Archive-Peek-0.37/Makefile.PL
--- old/Archive-Peek-0.35/Makefile.PL 2008-09-10 19:17:22.000000000 +0200
+++ new/Archive-Peek-0.37/Makefile.PL 2021-11-13 04:01:10.000000000 +0100
@@ -2,6 +2,8 @@
use strict;
use warnings;
use ExtUtils::MakeMaker;
+
+my $github_slug = 'acme/archive-peek';
WriteMakefile(
NAME => 'Archive::Peek',
VERSION_FROM => 'lib/Archive/Peek.pm',
@@ -11,9 +13,31 @@
PREREQ_PM => {
'Archive::Tar' => '0',
'Archive::Zip' => '0',
- 'Moose' => '0',
- 'MooseX::Types::Path::Class' => '0',
+ 'Moo' => '0',
+ 'Types::Path::Tiny' => '0',
+ 'Carp' => '0',
+ },
+ TEST_REQUIRES => {
'Test::More' => '0',
- }
+ 'File::Temp' => '0',
+ },
+ META_MERGE => {
+ "meta-spec" => { version => 2 },
+ resources => {
+ bugtracker => { web => "https://github.com/$github_slug/issues" },
+ repository => {
+ url => "git://github.com/$github_slug.git",
+ type => 'git',
+ web => "https://github.com/$github_slug",
+ },
+ },
+ prereqs => {
+ develop => {
+ requires => {
+ 'Test::Pod' => '1.14',
+ },
+ },
+ },
+ },
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Archive-Peek-0.35/lib/Archive/Peek/Tar.pm
new/Archive-Peek-0.37/lib/Archive/Peek/Tar.pm
--- old/Archive-Peek-0.35/lib/Archive/Peek/Tar.pm 2011-09-26
20:46:25.000000000 +0200
+++ new/Archive-Peek-0.37/lib/Archive/Peek/Tar.pm 2021-11-13
03:20:58.000000000 +0100
@@ -1,5 +1,6 @@
package Archive::Peek::Tar;
-use Moose;
+use Moo;
+use Carp qw(confess);
use Archive::Tar;
extends 'Archive::Peek';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Archive-Peek-0.35/lib/Archive/Peek/Zip.pm
new/Archive-Peek-0.37/lib/Archive/Peek/Zip.pm
--- old/Archive-Peek-0.35/lib/Archive/Peek/Zip.pm 2008-08-28
09:56:03.000000000 +0200
+++ new/Archive-Peek-0.37/lib/Archive/Peek/Zip.pm 2021-11-13
03:20:58.000000000 +0100
@@ -1,5 +1,6 @@
package Archive::Peek::Zip;
-use Moose;
+use Moo;
+use Carp qw(confess);
use Archive::Zip qw(AZ_OK);
use Archive::Zip::MemberRead;
extends 'Archive::Peek';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Archive-Peek-0.35/lib/Archive/Peek.pm
new/Archive-Peek-0.37/lib/Archive/Peek.pm
--- old/Archive-Peek-0.35/lib/Archive/Peek.pm 2011-09-26 21:21:43.000000000
+0200
+++ new/Archive-Peek-0.37/lib/Archive/Peek.pm 2021-11-13 04:22:39.000000000
+0100
@@ -1,9 +1,10 @@
package Archive::Peek;
-use Moose;
+use Moo;
+use Carp qw(confess);
use Archive::Peek::Tar;
use Archive::Peek::Zip;
-use MooseX::Types::Path::Class qw( File );
-our $VERSION = '0.35';
+use Types::Path::Tiny qw( File );
+our $VERSION = '0.37';
has 'filename' => (
is => 'ro',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Archive-Peek-0.35/t/simple.t
new/Archive-Peek-0.37/t/simple.t
--- old/Archive-Peek-0.35/t/simple.t 2011-09-26 20:45:46.000000000 +0200
+++ new/Archive-Peek-0.37/t/simple.t 2021-11-13 03:20:58.000000000 +0100
@@ -2,6 +2,7 @@
use strict;
use warnings;
use Test::More;
+use File::Temp qw(tempfile);
use_ok 'Archive::Peek';
my @filenames
@@ -11,6 +12,13 @@
test_archive('t/archive.tgz') if Archive::Tar->has_zlib_support;
test_archive('t/archive.tar.bz2') if Archive::Tar->has_bzip2_support;
+subtest "Test opening empty file" => sub {
+ my ($empty_fh, $empty_path) = tempfile( SUFFIX => '.zip' );
+ my $empty_peek = Archive::Peek->new( filename => $empty_path );
+ eval { $empty_peek->files; 1 } and fail 'No exception on empty file';
+ pass "Exception on empty file: $@" if $@;
+};
+
done_testing();
sub test_archive {
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section