8
0

Accepting request 356245 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/356245
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Path-Tiny?expand=0&rev=10
This commit is contained in:
Stephan Kulow
2016-01-28 21:12:40 +00:00
committed by Git OBS Bridge
parent 1408db6f13
commit 4cab17c7f2
5 changed files with 68 additions and 30 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc19f7b158bb64ebacf7531c29371143570baaa6483f44e2928ce615647fc75a
size 7522

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78f8eec74a11f423b4a9080d009d3c895c6b2c65833f0fd7fb11998cde50b6e8
size 7723

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Jan 27 09:59:50 UTC 2016 - coolo@suse.com
- 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!)
-------------------------------------------------------------------
Fri Oct 4 09:15:14 UTC 2013 - coolo@suse.com

View File

@@ -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 @@ BuildRequires: perl-macros
%{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.
The goal here is simply to provide recursive versions of mkdir() and
rmdir() 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.
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.
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.
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 the File::Path manpage has/does that this module
attempts to do without:
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}