8
0

Accepting request 360651 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/360651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=30
This commit is contained in:
2016-02-25 21:03:53 +00:00
committed by Git OBS Bridge
5 changed files with 63 additions and 15 deletions

View File

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

3
Path-Class-0.36.tar.gz Normal file
View File

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

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,22 @@
-------------------------------------------------------------------
Fri Feb 19 10:45:15 UTC 2016 - coolo@suse.com
- updated to 0.36
see /usr/share/doc/packages/perl-Path-Class/Changes
0.36 Tue Feb 16 22:16:21 CST 2016
- 117bd64 - Use croak instead of die; use eval syntax instead of universal::isa (as perlcritic wishes) <viviparous>
- 4b620b6 - Load File::Copy and Perl::OSType only when used (copy_to, move_to) <Olivier Mengué>
- 55ecb58 - always use canonpath on arguments to splitdir <Andrew Gregory>
- 25c12f7 - Fix 'Operation "eq": no method found' error (RT #77259), whose underlying cause
isn't really understood. <mzrinsky>
- 935eeed - Add some fixes & tests for contains() with updir stuff (github #43) <Ken Williams>
- 927fa74 - Fix Carp::Croak to Carp::croak <Ken Williams>
- 2d615ca 34da6d3 5fcad02 1b7be68 a622acf - Fixed and improved Travis testing configuration <Dave Rolsky>
- 2a74c40 - Fix Pod typos <Сергей Романов>
- 28ca95a - Check all print calls in spew and explicitly call (and check) close <Dave Rolsky>
-------------------------------------------------------------------
Tue Sep 16 08:08:00 UTC 2014 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Path-Class
#
# Copyright (c) 2014 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,20 +17,21 @@
Name: perl-Path-Class
Version: 0.35
Version: 0.36
Release: 0
%define cpan_name Path-Class
Summary: Cross-platform path specification manipulation
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Path-Class/
Source: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/%{cpan_name}-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Spec) >= 3.26
BuildRequires: perl(Module::Build) >= 0.3601
BuildRequires: perl(Module::Build) >= 0.360100
BuildRequires: perl(Perl::OSType)
BuildRequires: perl(parent)
Requires: perl(File::Spec) >= 3.26
@@ -45,10 +46,10 @@ specifications (strings describing their locations, like
manner. It supports pretty much every platform Perl runs on, including
Unix, Windows, Mac, VMS, Epoc, Cygwin, OS/2, and NetWare.
The well-known module the File::Spec manpage also provides this service,
but it's sort of awkward to use well, so people sometimes avoid it, or use
it in a way that won't actually work properly on platforms significantly
different than the ones they've tested their code on.
The well-known module File::Spec also provides this service, but it's sort
of awkward to use well, so people sometimes avoid it, or use it in a way
that won't actually work properly on platforms significantly different than
the ones they've tested their code on.
In fact, 'Path::Class' uses 'File::Spec' internally, wrapping all the
unsightly details so you can concentrate on your application code. Whereas
@@ -82,9 +83,9 @@ into account when writing 'File::Spec'-using code? I thought not. But if
you use 'Path::Class', your file and directory objects will know what
volumes they refer to and do the right thing.
The guts of the 'Path::Class' code live in the the Path::Class::File
manpage and the Path::Class::Dir manpage modules, so please see those
modules' documentation for more details about how to use them.
The guts of the 'Path::Class' code live in the Path::Class::File and
Path::Class::Dir modules, so please see those modules' documentation for
more details about how to use them.
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -102,6 +103,6 @@ modules' documentation for more details about how to use them.
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes cpanfile LICENSE README
%doc Changes LICENSE README
%changelog