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