Hello community,

here is the log from the commit of package perl-File-Path-Tiny for 
openSUSE:Factory checked in at 2016-02-17 10:24:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-Path-Tiny (Old)
 and      /work/SRC/openSUSE:Factory/.perl-File-Path-Tiny.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-File-Path-Tiny"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-Path-Tiny/perl-File-Path-Tiny.changes  
2013-10-06 18:37:51.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-File-Path-Tiny.new/perl-File-Path-Tiny.changes 
    2016-02-17 12:19:48.000000000 +0100
@@ -1,0 +2,11 @@
+Wed Jan 27 09:59:50 UTC 2016 - [email protected]
+
+- updated to 0.8
+   see /usr/share/doc/packages/perl-File-Path-Tiny/Changes
+
+  0.8  2016-01-26 14:44:57
+      - rt 88849: allow multiple processes to operate on the same paths 
(thanks HELENA!)
+      - Add github to POD
+      - rt 96842: Fix mk() to work correctly w/ UNC paths on windows (thanks 
MITHUN!)
+
+-------------------------------------------------------------------

Old:
----
  File-Path-Tiny-0.7.tar.gz

New:
----
  File-Path-Tiny-0.8.tar.gz
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-File-Path-Tiny.spec ++++++
--- /var/tmp/diff_new_pack.vsICdr/_old  2016-02-17 12:19:49.000000000 +0100
+++ /var/tmp/diff_new_pack.vsICdr/_new  2016-02-17 12:19:49.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-File-Path-Tiny
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
 
 
 Name:           perl-File-Path-Tiny
-Version:        0.7
+Version:        0.8
 Release:        0
 %define cpan_name File-Path-Tiny
-Summary:        recursive versions of mkdir() and rmdir() without as much 
overhead as Fi[cut]
+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/
-Source:         
http://www.cpan.org/authors/id/D/DM/DMUEY/%{cpan_name}-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/D/DM/DMUEY/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -32,52 +33,50 @@
 %{perl_requires}
 
 %description
-The goal here is simply to provide recursive versions of the mkdir
-manpage() and the rmdir manpage() with as little code and overhead as
-possible.
-
-This module is in no way meant to derogate the File::Path manpage and is in
-no way an endorsement to go out and replace all use of the File::Path
-manpage with the File::Path::Tiny manpage.
+The goal here is simply to provide recursive versions of mkdir() and
+rmdir() with as little code and overhead as possible.
 
-the File::Path manpage is very good at what it does but there's simply a
-lot happening that we can do without much of the time.
+This module is in no way meant to derogate File::Path and is in no way an
+endorsement to go out and replace all use of File::Path with
+File::Path::Tiny.
 
-Here are some things the File::Path manpage has/does that this module
-attempts to do without:
+File::Path is very good at what it does but there's simply a lot happening
+that we can do without much of the time.
+
+Here are some things File::Path has/does that this module attempts to do
+without:
 
 * * multiple interfaces
 
-  Backwards compatibility brings in a lot of code and logic that we don't
-  need from here on out.
+Backwards compatibility brings in a lot of code and logic that we don't
+need from here on out.
 
 * * chdir()s
 
-  It does a ton of chdir()s which could leave you somewhere you're not
-  planning on being and requires much more overhead to do.
+It does a ton of chdir()s which could leave you somewhere you're not
+planning on being and requires much more overhead to do.
 
 * * can croak not allowing you to detect and handle failure
 
-  Just let me handle errors how I want. Don't make my entire app die or
-  have to wrap it in an eval
+Just let me handle errors how I want. Don't make my entire app die or have
+to wrap it in an eval
 
 * * A well intentioned output system
 
-  Just let me do the output how I want. (Nothing, As HTML, print to a
-  filehandle, etc...)
+Just let me do the output how I want. (Nothing, As HTML, print to a
+filehandle, etc...)
 
 * * A well intentioned and experimental (IE subject to change) error
   handling system.
 
-  Just keep it simple and detect failure via a boolean check and do what I
-  want with the error. See the /"How can I make/remove multiple paths?"
-  manpage
+Just keep it simple and detect failure via a boolean check and do what I
+want with the error. See "How can I make/remove multiple paths?"
 
 * * According to its POD, removing a tree is apparently not safe unless you
   tell it to be with the ‘safe’ or 'keep_root' attributes.
 
-  Seems like that should just happen, I don't want to worry about
-  accidentally removing / when I pass it /tmp
+Seems like that should just happen, I don't want to worry about
+accidentally removing / when I pass it /tmp
 
 %prep
 %setup -q -n %{cpan_name}-%{version}

++++++ File-Path-Tiny-0.7.tar.gz -> File-Path-Tiny-0.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Path-Tiny-0.7/Changes 
new/File-Path-Tiny-0.8/Changes
--- old/File-Path-Tiny-0.7/Changes      2013-09-27 01:51:18.000000000 +0200
+++ new/File-Path-Tiny-0.8/Changes      2016-01-26 21:48:41.000000000 +0100
@@ -1,5 +1,10 @@
 Revision history for File-Path-Tiny
 
+0.8  2016-01-26 14:44:57
+    - rt 88849: allow multiple processes to operate on the same paths (thanks 
HELENA!)
+    - Add github to POD
+    - rt 96842: Fix mk() to work correctly w/ UNC paths on windows (thanks 
MITHUN!)
+
 0.7  2013-09-26 18:46:19
     - add =encoding to POD due to test failure on certain boxes
     - add several perl, pkg, and pod tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Path-Tiny-0.7/META.json 
new/File-Path-Tiny-0.8/META.json
--- old/File-Path-Tiny-0.7/META.json    2013-09-27 01:57:29.000000000 +0200
+++ new/File-Path-Tiny-0.8/META.json    2016-01-26 21:49:47.000000000 +0100
@@ -4,7 +4,7 @@
       "Daniel Muey <http://drmuey.com/cpan_contact.pl>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter 
version 2.120921",
+   "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter 
version 2.150001",
    "license" : [
       "perl_5"
    ],
@@ -37,5 +37,5 @@
       }
    },
    "release_status" : "stable",
-   "version" : "0.7"
+   "version" : "0.8"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Path-Tiny-0.7/META.yml 
new/File-Path-Tiny-0.8/META.yml
--- old/File-Path-Tiny-0.7/META.yml     2013-09-27 01:57:29.000000000 +0200
+++ new/File-Path-Tiny-0.8/META.yml     2016-01-26 21:49:46.000000000 +0100
@@ -3,20 +3,20 @@
 author:
   - 'Daniel Muey <http://drmuey.com/cpan_contact.pl>'
 build_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 configure_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 
2.120921'
+generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 
2.150001'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: File-Path-Tiny
 no_index:
   directory:
     - t
     - inc
 requires:
-  Test::More: 0
-version: 0.7
+  Test::More: '0'
+version: '0.8'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Path-Tiny-0.7/README 
new/File-Path-Tiny-0.8/README
--- old/File-Path-Tiny-0.7/README       2013-09-27 01:51:42.000000000 +0200
+++ new/File-Path-Tiny-0.8/README       2016-01-26 21:45:59.000000000 +0100
@@ -1,4 +1,4 @@
-File-Path-Tiny version 0.7
+File-Path-Tiny version 0.8
 
 DOCUMENTATION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Path-Tiny-0.7/lib/File/Path/Tiny.pm 
new/File-Path-Tiny-0.8/lib/File/Path/Tiny.pm
--- old/File-Path-Tiny-0.7/lib/File/Path/Tiny.pm        2013-09-27 
01:56:31.000000000 +0200
+++ new/File-Path-Tiny-0.8/lib/File/Path/Tiny.pm        2016-01-26 
21:45:37.000000000 +0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-$File::Path::Tiny::VERSION = 0.7;
+$File::Path::Tiny::VERSION = 0.8;
 
 sub mk {
     my ( $path, $mask ) = @_;
@@ -12,17 +12,17 @@
     $mask ||= '0777';    # Perl::Critic == Integer with leading zeros at ...
     $mask = oct($mask) if substr( $mask, 0, 1 ) eq '0';
     require File::Spec;
-    my ( $progressive, @parts ) = File::Spec->splitdir($path);
-    if ( !defined $progressive || $progressive eq '' ) {
-        $progressive = File::Spec->catdir( $progressive, shift(@parts) );
-    }
-    if ( !-d $progressive ) {
-        mkdir( $progressive, $mask ) or return;
-    }
-    for my $part (@parts) {
-        $progressive = File::Spec->catdir( $progressive, $part );
+    my ( $vol, $directories ) = File::Spec->splitpath( $path, 1 );
+    my @dirs = File::Spec->splitdir($directories);
+    my @list;
+
+    while ( my ($_dir) = shift @dirs ) {
+        last if not defined $_dir;
+        push @list, $_dir;
+        next if ( $_dir eq '' );
+        my $progressive = File::Spec->catpath( $vol, 
File::Spec->catdir(@list), '' );
         if ( !-d $progressive ) {
-            mkdir( $progressive, $mask ) or return;
+            mkdir( $progressive, $mask ) or -d $progressive or return;
         }
     }
     return 1 if -d $path;
@@ -34,7 +34,7 @@
     if ( -e $path && !-d $path ) { $! = 20; return; }
     return 2 if !-d $path;
     empty_dir($path) or return;
-    rmdir($path) or return;
+    rmdir($path) or !-e $path or return;
     return 1;
 }
 
@@ -48,10 +48,10 @@
     for my $thing (@contents) {
         my $long = File::Spec->catdir( $path, $thing );
         if ( !-l $long && -d $long ) {
-            rm($long) or return;
+            rm($long) or !-e $long or return;
         }
         else {
-            unlink $long or return;
+            unlink $long or !-e $long or return;
         }
     }
     return 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Path-Tiny-0.7/lib/File/Path/Tiny.pod 
new/File-Path-Tiny-0.8/lib/File/Path/Tiny.pod
--- old/File-Path-Tiny-0.7/lib/File/Path/Tiny.pod       2013-09-27 
01:55:54.000000000 +0200
+++ new/File-Path-Tiny-0.8/lib/File/Path/Tiny.pod       2016-01-26 
21:45:51.000000000 +0100
@@ -6,7 +6,7 @@
 
 =head1 VERSION
 
-This document describes File::Path::Tiny version 0.7
+This document describes File::Path::Tiny version 0.8
 
 =head1 SYNOPSIS
 
@@ -179,13 +179,10 @@
 
 None reported.
 
-=head1 BUGS AND LIMITATIONS
+=head1 BUGS AND FEATURES
 
-No bugs have been reported.
-
-Please report any bugs or feature requests to
-C<[email protected]>, or through the web interface at
-L<http://rt.cpan.org>.
+Please report any bugs or feature requests (and a pull request for bonus 
points)
+ through the issue tracker at 
L<https://github.com/drmuey/p5-File-Path-Tiny/issues>.
 
 =head1 AUTHOR
 

++++++ 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:
#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

Reply via email to