8
0

Compare commits

...

23 Commits

Author SHA256 Message Date
07c1d0a349 Accepting request 1278752 from devel:languages:perl
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1278752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=32
2025-05-23 12:29:51 +00:00
f1c5cebacd Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Path-Class?expand=0&rev=31
2025-05-20 13:06:44 +00:00
da76ac63d1 Accepting request 419635 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/419635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=31
2016-08-17 10:06:26 +00:00
09a621c177 Accepting request 419343 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/419343
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Path-Class?expand=0&rev=29
2016-08-16 14:25:55 +00:00
c9928acf9d 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
2016-02-25 21:03:53 +00:00
Stephan Kulow
48dadcc96a Accepting request 360442 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/360442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Path-Class?expand=0&rev=27
2016-02-20 20:42:58 +00:00
Stephan Kulow
047c51f4c8 Accepting request 249507 from devel:languages:perl
- 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>

OBS-URL: https://build.opensuse.org/request/show/249507
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=29
2014-09-17 15:26:09 +00:00
Stephan Kulow
8d85dcf181 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Path-Class?expand=0&rev=25
2014-09-16 08:09:55 +00:00
Stephan Kulow
9af57064d4 Accepting request 211362 from devel:languages:perl
- 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]

OBS-URL: https://build.opensuse.org/request/show/211362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=27
2013-12-19 11:24:09 +00:00
Stephan Kulow
7986f25c10 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Path-Class?expand=0&rev=23
2013-12-18 10:40:52 +00:00
Stephan Kulow
eb1f4de5f1 Accepting request 178296 from devel:languages:perl
update (forwarded request 178281 from coolo)

OBS-URL: https://build.opensuse.org/request/show/178296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=25
2013-06-11 05:30:42 +00:00
Stephan Kulow
a578f833b0 Accepting request 122788 from devel:languages:perl
- it should work with all Module::Build

OBS-URL: https://build.opensuse.org/request/show/122788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=22
2012-05-31 15:08:41 +00:00
Stephan Kulow
87dea63ac3 Accepting request 107120 from devel:languages:perl
- updated to 0.25
 - resolve() now croak()s instead of die()s on non-existent file. [Danijel Tašov]
 - Added a traverse() method for directories, based on the fmap_cont()
   method of Forest::Tree::Pure.  It's an alternative to ->recurse,
   which allows for more control over how the recursion
   happens. [Jesse Luehrs]
 - Fixed a grammar error in the docs. [Shlomi Fish]

OBS-URL: https://build.opensuse.org/request/show/107120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=21
2012-03-01 16:25:14 +00:00
Stephan Kulow
e1d2cbaf20 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=20
2011-12-06 17:46:05 +00:00
Sascha Peilicke
f8557cb374 Autobuild autoformatter for 72109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=18
2011-05-31 14:51:17 +00:00
Sascha Peilicke
3f771d7fa0 Accepting request 72109 from devel:languages:perl
- updated to 0.24
 - Added a tempfile() method for Dir objects, which provides an
   interface to File::Temp. [RT#60485]
 - Fixed a non-helpful fatal error message when calling resolve() on a
   path that doesn't exist.  Now dies with the proper "No such file or
   directory" message & exit status. [GRAF]

OBS-URL: https://build.opensuse.org/request/show/72109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=17
2011-05-31 14:51:06 +00:00
Sascha Peilicke
046814705d Autobuild autoformatter for 65875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=16
2011-04-04 10:59:22 +00:00
Sascha Peilicke
a1c83d6ed3 Accepting request 65875 from devel:languages:perl
Accepted submit request 65875 from user coolo

OBS-URL: https://build.opensuse.org/request/show/65875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=15
2011-04-04 10:59:10 +00:00
Sascha Peilicke
5df6082564 Autobuild autoformatter for 65650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=14
2011-03-31 12:51:48 +00:00
Sascha Peilicke
31756ba6bc Accepting request 65650 from devel:languages:perl
Accepted submit request 65650 from user coolo

OBS-URL: https://build.opensuse.org/request/show/65650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=13
2011-03-31 12:51:40 +00:00
Lars Vogdt
b4167e2d9f Autobuild autoformatter for 54621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=11
2010-12-05 21:12:17 +00:00
Lars Vogdt
e72c335596 Accepting request 54621 from devel:languages:perl
Accepted submit request 54621 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=10
2010-12-05 21:12:09 +00:00
OBS User autobuild
dd6ea44470 Accepting request 44989 from devel:languages:perl
Copy from devel:languages:perl/perl-Path-Class based on submit request 44989 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/44989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Path-Class?expand=0&rev=9
2010-08-10 00:18:21 +00:00
5 changed files with 133 additions and 30 deletions

View File

@@ -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

Binary file not shown.

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,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

View File

@@ -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