Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Archive-Zip for
openSUSE:Factory checked in at 2025-06-13 18:43:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Archive-Zip (Old)
and /work/SRC/openSUSE:Factory/.perl-Archive-Zip.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Archive-Zip"
Fri Jun 13 18:43:04 2025 rev:43 rq:1285213 version:1.680.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Archive-Zip/perl-Archive-Zip.changes
2020-03-16 10:16:47.375549386 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Archive-Zip.new.19631/perl-Archive-Zip.changes
2025-06-13 18:43:23.053791538 +0200
@@ -1,0 +2,6 @@
+Thu Jun 12 17:23:46 UTC 2025 - Tina Müller <[email protected]>
+
+- Normalize CPAN version
+ See https://github.com/openSUSE/cpanspec/issues/47 for details
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Archive-Zip.spec ++++++
--- /var/tmp/diff_new_pack.nWQaft/_old 2025-06-13 18:43:23.745819845 +0200
+++ /var/tmp/diff_new_pack.nWQaft/_new 2025-06-13 18:43:23.745819845 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Archive-Zip
#
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2025 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,36 @@
#
+%define cpan_name Archive-Zip
Name: perl-Archive-Zip
-Version: 1.68
+Version: 1.680.0
Release: 0
-%define cpan_name Archive-Zip
-Summary: Provide an interface to ZIP archive files
+# 1.68 -> normalize -> 1.680.0
+%define cpan_version 1.68
License: Artistic-1.0 OR GPL-1.0-or-later
-Group: Development/Libraries/Perl
-Url: https://metacpan.org/release/%{cpan_name}
-Source0:
https://cpan.metacpan.org/authors/id/P/PH/PHRED/%{cpan_name}-%{version}.tar.gz
+Summary: Provide an interface to ZIP archive files
+URL: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/P/PH/PHRED/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Compress::Raw::Zlib) >= 2.017
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Compress::Raw::Zlib) >= 2.017
+Provides: perl(Archive::Zip) = %{version}
+Provides: perl(Archive::Zip::Archive) = %{version}
+Provides: perl(Archive::Zip::BufferedFileHandle) = %{version}
+Provides: perl(Archive::Zip::DirectoryMember) = %{version}
+Provides: perl(Archive::Zip::FileMember) = %{version}
+Provides: perl(Archive::Zip::Member) = %{version}
+Provides: perl(Archive::Zip::MemberRead) = %{version}
+Provides: perl(Archive::Zip::MockFileHandle) = %{version}
+Provides: perl(Archive::Zip::NewFileMember) = %{version}
+Provides: perl(Archive::Zip::StringMember) = %{version}
+Provides: perl(Archive::Zip::Tree) = %{version}
+Provides: perl(Archive::Zip::ZipFileMember) = %{version}
+%undefine __perllib_provides
%{perl_requires}
%description
@@ -57,12 +70,13 @@
as if they were files.
%prep
-%setup -q -n %{cpan_name}-%{version}
-find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
+%autosetup -n %{cpan_name}-%{cpan_version} -p1
+
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod
644
%build
perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%make_build
%check
make test
@@ -73,6 +87,5 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes examples README.md