forked from pool/perl-Path-Class
Compare commits
23 Commits
273b229d5a
...
07c1d0a349
Author | SHA256 | Date | |
---|---|---|---|
07c1d0a349 | |||
f1c5cebacd | |||
da76ac63d1 | |||
09a621c177 | |||
c9928acf9d | |||
|
48dadcc96a | ||
|
047c51f4c8 | ||
|
8d85dcf181 | ||
|
9af57064d4 | ||
|
7986f25c10 | ||
|
eb1f4de5f1 | ||
|
a578f833b0 | ||
|
87dea63ac3 | ||
|
e1d2cbaf20 | ||
|
f8557cb374 | ||
|
3f771d7fa0 | ||
|
046814705d | ||
|
a1c83d6ed3 | ||
|
5df6082564 | ||
|
31756ba6bc | ||
|
b4167e2d9f | ||
|
e72c335596 | ||
|
dd6ea44470 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:320ba296e134170eaabb42ff3929f82419bedd4de98bf44babfaccef17d3ecb8
|
||||
size 32205
|
BIN
Path-Class-0.37.tar.gz
(Stored with Git LFS)
Normal file
BIN
Path-Class-0.37.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal 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
|
@@ -1,3 +1,72 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 20 13:06:33 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 15 05:41:54 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.37
|
||||
see /usr/share/doc/packages/perl-Path-Class/Changes
|
||||
|
||||
0.37 Sat Aug 13 21:33:23 CDT 2016
|
||||
|
||||
- Doc update for contains/subsumes [1916528]
|
||||
- Fix "contains" when $self is a relative path - #43 [1c01e86]
|
||||
- Handle case where $other evaluates false [70e4b6b]
|
||||
- Add additional test cases for contains and subsumes [434f244]
|
||||
- Test with Perl 5.24 [a4d2d73]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- updated to 0.35
|
||||
- fce4b8e - Fixed a t/03-filesystem.t test error on Windows <Andrew Gregory>
|
||||
- df23e17 - Add a new spew_lines() method <William Stevenson>
|
||||
- 3ffef39 - Don't convert file into directory in subsumes() <Dagfinn Ilmari Mannsåker>
|
||||
- 9a01a71 - Updated POD for copy_to and move_to methods <Robert Rothenberg>
|
||||
- 210a7ef - Stringify destination for copy_to method <Robert Rothenberg>
|
||||
- 9f83723 - Stringify destination for move_to method <Robert Rothenberg>
|
||||
- 5e2cb26, d5c7e62 - Add Continuous Integration with Travis CI <Ken Williams>
|
||||
- d372be1 - Change bugtracker to github's <Ken Williams>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 10:40:28 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.33
|
||||
- New copy_to() and move_to() methods. [Robert Rothenberg & Ken Williams]
|
||||
|
||||
- As advised in the utime() docs, pass undef as the time for touch().
|
||||
|
||||
- Do a better job cleaning up temp files in the tests.
|
||||
|
||||
- Optimization: use parent.pm instead of base.pm. [Olivier Mengué]
|
||||
|
||||
- Changed the docs to show that file() and dir() are exported by
|
||||
default.
|
||||
|
||||
- Fixed spelling error in POD. [Salvatore Bonaccorso]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 9 14:52:47 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Path-Class
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,30 +12,36 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Path-Class
|
||||
Version: 0.32
|
||||
Release: 0
|
||||
%define cpan_name Path-Class
|
||||
Name: perl-Path-Class
|
||||
Version: 0.370.0
|
||||
Release: 0
|
||||
# 0.37 -> normalize -> 0.370.0
|
||||
%define cpan_version 0.37
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
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
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/K/KW/KWILLIAMS/%{cpan_name}-%{cpan_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(Path::Class)
|
||||
#BuildRequires: perl(Path::Class::Dir)
|
||||
#BuildRequires: perl(Path::Class::Entity)
|
||||
#BuildRequires: perl(Path::Class::File)
|
||||
BuildRequires: perl(Perl::OSType)
|
||||
BuildRequires: perl(parent)
|
||||
Requires: perl(File::Spec) >= 3.26
|
||||
Requires: perl(Perl::OSType)
|
||||
Requires: perl(parent)
|
||||
Provides: perl(Path::Class) = %{version}
|
||||
Provides: perl(Path::Class::Dir) = %{version}
|
||||
Provides: perl(Path::Class::Entity) = %{version}
|
||||
Provides: perl(Path::Class::File) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -45,10 +51,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,26 +88,26 @@ 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}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user