Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-File-Rename for
openSUSE:Factory checked in at 2023-08-12 15:06:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-Rename (Old)
and /work/SRC/openSUSE:Factory/.perl-File-Rename.new.11712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-Rename"
Sat Aug 12 15:06:46 2023 rev:3 rq:1103547 version:2.10.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-Rename/perl-File-Rename.changes
2022-05-12 22:58:53.536678537 +0200
+++
/work/SRC/openSUSE:Factory/.perl-File-Rename.new.11712/perl-File-Rename.changes
2023-08-12 15:07:05.086849606 +0200
@@ -1,0 +2,7 @@
+Fri Aug 11 15:31:52 UTC 2023 - Tina Müller <[email protected]>
+
+- updated to 2.01
+ see /usr/share/doc/packages/perl-File-Rename/Changes
+- Update change-command-name.patch
+
+-------------------------------------------------------------------
Old:
----
File-Rename-1.31.tar.gz
New:
----
File-Rename-2.01.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-File-Rename.spec ++++++
--- /var/tmp/diff_new_pack.8mmSRU/_old 2023-08-12 15:07:05.794854180 +0200
+++ /var/tmp/diff_new_pack.8mmSRU/_new 2023-08-12 15:07:05.798854206 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-File-Rename
#
-# Copyright (c) 2022 SUSE LLC
+# 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
@@ -18,46 +18,42 @@
%define cpan_name File-Rename
Name: perl-File-Rename
-Version: 1.31
+Version: 2.10.0
Release: 0
+%define cpan_version 2.01
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl extension for renaming multiple files
URL: https://metacpan.org/release/%{cpan_name}
-Source0:
https://cpan.metacpan.org/authors/id/R/RM/RMBARKER/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/R/RM/RMBARKER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
# PATCH-FIX-OPENSUSE
Patch0: change-command-name.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Module::Build) >= 0.400000
+BuildRequires: perl(ExtUtils::MakeMaker) >= 7.36
+Provides: perl(File::Rename) = 2.10.0
+Provides: perl(File::Rename::Options) = 2.10.0
+Provides: perl(File::Rename::Unicode) = 1.30
+%define __perllib_provides /bin/true
%{perl_requires}
%description
-* 'rename( FILES, CODE [, VERBOSE])'
-
-rename FILES using CODE, if FILES is empty read list of files from stdin
-
-* 'rename_files( CODE, VERBOSE, FILES)'
-
-rename FILES using CODE
-
-* 'rename_list( CODE, VERBOSE, HANDLE [, FILENAME])'
-
-rename a list of file read from HANDLE, using CODE
+Perl extension for renaming multiple files
%prep
-%autosetup -n %{cpan_name}-%{version} -p1
+%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
-perl Build.PL installdirs=vendor
-./Build build flags=%{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-./Build test
+%make_build test
%install
-./Build install destdir=%{buildroot} create_packlist=0
+%perl_make_install
+%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
++++++ File-Rename-1.31.tar.gz -> File-Rename-2.01.tar.gz ++++++
++++ 1920 lines of diff (skipped)
++++++ change-command-name.patch ++++++
--- /var/tmp/diff_new_pack.8mmSRU/_old 2023-08-12 15:07:05.890854801 +0200
+++ /var/tmp/diff_new_pack.8mmSRU/_new 2023-08-12 15:07:05.890854801 +0200
@@ -3,32 +3,31 @@
This is not only the upstream's choice of an alternative name, but also makes
us compatible with Debian
(see
https://salsa.debian.org/perl-team/modules/packages/rename/-/blob/master/debian/rules
)
-diff --git a/Build.PL b/Build.PL
-index 8912e96..7692ec4 100644
---- a/Build.PL
-+++ b/Build.PL
-@@ -1,9 +1,7 @@
- use strict;
- use Module::Build;
- use File::Spec;
--my $script = File::Spec->catfile( 'script',
-- Module::Build->os_type eq 'Windows'
-- ? 'file-rename' : 'rename' );
-+my $script = File::Spec->catfile( 'script', 'file-rename' );
-
- Module::Build -> new (
- license => 'perl',
+
+diff --git a/Makefile.PL b/Makefile.PL
+index ea8fb98..d91de90 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -15,7 +15,7 @@ warn "No Perl::OSType\n" unless ($has_os or $] < 5.014);
+ my $is_win = ( $has_os ? Perl::OSType::is_os_type('Windows')
+ : $INC{'ExtUtils/MM_Win32.pm'} );
+ my $script = File::Spec->catfile( 'script',
+- $is_win ? 'file-rename' : 'rename' );
++ 'file-rename' );
+ my $unsafe = File::Spec->catfile( 'script',
+ 'unsafe-rename');
+ my $source = File::Spec->catfile( 'source', 'rename');
diff --git a/t/testlib.pl b/t/testlib.pl
-index 34dcb64..fa5256a 100644
+index 9e1abeb..6c8f35c 100644
--- a/t/testlib.pl
+++ b/t/testlib.pl
-@@ -130,7 +130,7 @@ sub is_windows {
- }
+@@ -138,7 +138,7 @@ sub is_windows {
+ }
sub script_name {
-- return +(is_windows() ? 'file-rename' : 'rename');
+- return +( is_windows() ? 'file-rename' : 'rename' );
+ return +('file-rename');
}
- 1;
+ sub unsafe_script_name { return 'unsafe-rename'; }