Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-File-Path-Tiny for openSUSE:Factory checked in at 2021-02-07 15:22:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-File-Path-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-File-Path-Tiny.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-Path-Tiny" Sun Feb 7 15:22:03 2021 rev:11 rq:869978 version:1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-File-Path-Tiny/perl-File-Path-Tiny.changes 2018-02-09 15:47:40.455114948 +0100 +++ /work/SRC/openSUSE:Factory/.perl-File-Path-Tiny.new.28504/perl-File-Path-Tiny.changes 2021-02-07 15:24:27.866229696 +0100 @@ -1,0 +2,10 @@ +Fri Feb 5 03:08:18 UTC 2021 - Tina M??ller <timueller+p...@suse.de> + +- updated to 1.0 + see /usr/share/doc/packages/perl-File-Path-Tiny/Changes + + 1.0 2021-02-04 13:53:54 + - rt 125502: fix empty_dir() fast-mode, thanks ishigaki! + - f749173 Stop using bareword handle (still ::Tiny since perl is newer) + +------------------------------------------------------------------- Old: ---- File-Path-Tiny-0.9.tar.gz New: ---- File-Path-Tiny-1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-File-Path-Tiny.spec ++++++ --- /var/tmp/diff_new_pack.UEQfgP/_old 2021-02-07 15:24:28.370230271 +0100 +++ /var/tmp/diff_new_pack.UEQfgP/_new 2021-02-07 15:24:28.370230271 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-File-Path-Tiny # -# Copyright (c) 2018 SUSE LINUX 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,22 +12,20 @@ # 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 File-Path-Tiny Name: perl-File-Path-Tiny -Version: 0.9 +Version: 1.0 Release: 0 -%define cpan_name File-Path-Tiny -Summary: Recursive Versions of Mkdir() and Rmdir() Without As Much Overhead As Fi[cut] -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/File-Path-Tiny/ +Summary: Recursive versions of mkdir() and rmdir() without as much overhead as Fi[cut] +License: Artistic-1.0 OR GPL-1.0-or-later +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DM/DMUEY/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::Exception) @@ -87,14 +85,14 @@ accidentally removing / when I pass it /tmp %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 @@ -102,7 +100,6 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %changelog ++++++ File-Path-Tiny-0.9.tar.gz -> File-Path-Tiny-1.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Path-Tiny-0.9/Changes new/File-Path-Tiny-1.0/Changes --- old/File-Path-Tiny-0.9/Changes 2017-12-29 23:18:10.000000000 +0100 +++ new/File-Path-Tiny-1.0/Changes 2021-02-04 21:00:06.000000000 +0100 @@ -1,5 +1,9 @@ Revision history for File-Path-Tiny +1.0 2021-02-04 13:53:54 + - rt 125502: fix empty_dir() fast-mode, thanks ishigaki! + - f749173 Stop using bareword handle (still ::Tiny since perl is newer) + 0.9 2017-12-29 16:17:42 - Do chdir() for security reasons by default - Stop emptying/removing a path if it is changed out from underneath us @@ -21,7 +25,7 @@ 0.5 2012-09-06 07:38:06 rt 79472 (thanks Lachlan!) fix absolute path bug introduced in 0.4 - + 0.4 2012-09-03 17:50:41 rt 79345 (thanks Gian!): Failed to recursively create dir if the first part solves to false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Path-Tiny-0.9/META.json new/File-Path-Tiny-1.0/META.json --- old/File-Path-Tiny-0.9/META.json 2017-12-29 23:21:26.000000000 +0100 +++ new/File-Path-Tiny-1.0/META.json 2021-02-04 21:01:15.000000000 +0100 @@ -4,7 +4,7 @@ "Daniel Muey <http://drmuey.com/cpan_contact.pl>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150001", + "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150001", "license" : [ "perl_5" ], @@ -41,5 +41,5 @@ } }, "release_status" : "stable", - "version" : "0.9" + "version" : "1.0" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Path-Tiny-0.9/META.yml new/File-Path-Tiny-1.0/META.yml --- old/File-Path-Tiny-0.9/META.yml 2017-12-29 23:21:26.000000000 +0100 +++ new/File-Path-Tiny-1.0/META.yml 2021-02-04 21:01:15.000000000 +0100 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150001' +generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150001' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -23,4 +23,4 @@ File::Temp: '0' Test::Exception: '0' Test::More: '0' -version: '0.9' +version: '1.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Path-Tiny-0.9/README new/File-Path-Tiny-1.0/README --- old/File-Path-Tiny-0.9/README 2017-12-29 23:18:25.000000000 +0100 +++ new/File-Path-Tiny-1.0/README 2021-02-04 21:00:29.000000000 +0100 @@ -1,4 +1,4 @@ -File-Path-Tiny version 0.9 +File-Path-Tiny version 1.0 DOCUMENTATION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Path-Tiny-0.9/lib/File/Path/Tiny.pm new/File-Path-Tiny-1.0/lib/File/Path/Tiny.pm --- old/File-Path-Tiny-0.9/lib/File/Path/Tiny.pm 2017-12-29 23:18:39.000000000 +0100 +++ new/File-Path-Tiny-1.0/lib/File/Path/Tiny.pm 2021-02-04 20:59:36.000000000 +0100 @@ -5,7 +5,7 @@ use Cwd qw(cwd chdir); use Carp (); -$File::Path::Tiny::VERSION = 0.9; +$File::Path::Tiny::VERSION = "1.0"; sub mk { my ( $path, $mask ) = @_; @@ -57,9 +57,9 @@ _bail_if_changed( $path, $orig_dev, $orig_ino ); } - opendir( DIR, $path ) or return; - my @contents = grep { $_ ne '.' && $_ ne '..' } readdir(DIR); - closedir DIR; + opendir( my $dh, $path ) or return; + my @contents = grep { $_ ne '.' && $_ ne '..' } readdir($dh); + closedir $dh; _bail_if_changed( $path, $orig_dev, $orig_ino ); require File::Spec if @contents; @@ -67,7 +67,7 @@ my $long = File::Spec->catdir( $path, $thing ); if ( !-l $long && -d _ ) { _bail_if_changed( $path, $orig_dev, $orig_ino ); - rm($long) or !-e $long or return; + rm( $long, $fast ) or !-e $long or return; } else { _bail_if_changed( $path, $orig_dev, $orig_ino ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Path-Tiny-0.9/lib/File/Path/Tiny.pod new/File-Path-Tiny-1.0/lib/File/Path/Tiny.pod --- old/File-Path-Tiny-0.9/lib/File/Path/Tiny.pod 2017-12-29 23:18:46.000000000 +0100 +++ new/File-Path-Tiny-1.0/lib/File/Path/Tiny.pod 2021-02-04 20:59:54.000000000 +0100 @@ -6,7 +6,7 @@ =head1 VERSION -This document describes File::Path::Tiny version 0.9 +This document describes File::Path::Tiny version 1.0 =head1 SYNOPSIS