forked from pool/perl-Path-Class
Accepting request 44987 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-Path-Class via accept of submit request 44987 revision 2. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/44987 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Path-Class?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
53c02a4679
commit
270b55de54
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ec9903c18a782e2d4245421e58f618fa0c6b1ec2ad6acdb823a84a54e4ec3a7e
|
|
||||||
size 17340
|
|
||||||
3
Path-Class-0.19.tar.bz2
Normal file
3
Path-Class-0.19.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f39641177c9a0a6245e2e9115eee37c70db820521e7c092d3179b68bdaee6de3
|
||||||
|
size 18659
|
||||||
@@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 9 09:34:47 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 0.19
|
||||||
|
- slurp() now accepts an 'iolayers' option to control how the file is
|
||||||
|
opened. [Graham Barr]
|
||||||
|
- In the openr() and openw() file methods, we now croak() instead of
|
||||||
|
die() so that the error messages are more useful. [Ian Sillitoe]
|
||||||
|
- Allow subclassing, by adding dir_class() and file_class() static
|
||||||
|
methods, allowing them to be overridden. [Matt Trout & John LoVerso
|
||||||
|
& Michael Schwern]
|
||||||
|
- Fixed a testing failure that could occur whenever testing in a
|
||||||
|
directory path that contains symlinks (e.g. /tmp on Mac OS X).
|
||||||
|
- Added a 'no_hidden' parameter for children() [EDENC <EDENC@cpan.org>]
|
||||||
|
- Fixed the heading for the is_relative() POD section. [CUB <cub.uanic@gmail.com>]
|
||||||
|
- 0.18 - Sun Dec 20 10:11:02 CST 2009
|
||||||
|
- Similar to the next() bug for files/directories named "0" or "0.0"
|
||||||
|
in the previous release, the children() and recurse() methods have
|
||||||
|
now been fixed in the same way. [spotted by ARTHAS, MSISK]
|
||||||
|
- 0.17 - Sun Jun 14 21:42:16 2009
|
||||||
|
- dir(undef) now returns undef rather than the rootdir, because undef
|
||||||
|
was probably a mistake by the caller, and the rootdir is too scary
|
||||||
|
a default. [Suggested by John Goulah]
|
||||||
|
- Temporary files during testing are now created in the system temp
|
||||||
|
directory, rather than somewhere in t/ . See RT #31382. [Suggested
|
||||||
|
by Alex Page]
|
||||||
|
- Added is_relative() as the obvious complement to the existing
|
||||||
|
is_absolute() method.
|
||||||
|
- Added a resolve() method to clean up paths much more thoroughly
|
||||||
|
than cleanup(), e.g. resolving symlinks, collapsing foo/../bar
|
||||||
|
sections, etc. [Suggested by David Garamond]
|
||||||
|
- Fixed a problem in which a file/directory called "0" or "0.0" would
|
||||||
|
end a loop prematurely when using the idiom 'while($x =
|
||||||
|
$dir->next) {...}'. See http://rt.cpan.org/Ticket/Display.html?id=29374
|
||||||
|
[Spotted by Daniel Lo]
|
||||||
|
- Fixed an exists($array[$i]) that prevented compatibility with perl
|
||||||
|
5.005.
|
||||||
|
- Moved the repository from my personal CVS repo to Google Code.
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
- noarch pkg
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
|
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Path-Class (Version 0.16)
|
# spec file for package perl-Path-Class (Version 0.19)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@@ -15,24 +15,46 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
Name: perl-Path-Class
|
Name: perl-Path-Class
|
||||||
Version: 0.16
|
%define cpan_name Path-Class
|
||||||
Release: 72
|
Summary: Cross-platform path specification manipulation
|
||||||
%define modname Path-Class
|
Version: 0.19
|
||||||
#
|
Release: 1
|
||||||
License: Artistic ; GPLv2
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
#
|
Url: http://search.cpan.org/dist/Path-Class/
|
||||||
|
#Source: http://www.cpan.org/modules/by-module/Path/Path-Class-%{version}.tar.gz
|
||||||
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
BuildRequires: perl(File::Temp)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
#
|
||||||
|
BuildRequires: perl(Cwd)
|
||||||
|
BuildRequires: perl(File::Path)
|
||||||
|
BuildRequires: perl(File::Spec) >= 0.87
|
||||||
|
BuildRequires: perl(File::Spec::Mac) >= 1.3
|
||||||
|
BuildRequires: perl(File::stat)
|
||||||
|
BuildRequires: perl(IO::Dir)
|
||||||
|
BuildRequires: perl(IO::File)
|
||||||
|
BuildRequires: perl(overload)
|
||||||
|
#
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
#
|
Requires: perl(Cwd)
|
||||||
Url: http://search.cpan.org/~kwilliams/
|
Requires: perl(File::Path)
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-0.16.tar.gz
|
Requires: perl(File::Spec) >= 0.87
|
||||||
#
|
Requires: perl(File::Spec::Mac) >= 1.3
|
||||||
Summary: Cross-platform path specification manipulation
|
Requires: perl(File::stat)
|
||||||
|
Requires: perl(IO::Dir)
|
||||||
|
Requires: perl(IO::File)
|
||||||
|
Requires: perl(overload)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
`Path::Class' is a module for manipulation of file and directory
|
`Path::Class' is a module for manipulation of file and directory
|
||||||
@@ -47,52 +69,39 @@ a way that won't actually work properly on platforms significantly
|
|||||||
different than the ones they've tested their code on.
|
different than the ones they've tested their code on.
|
||||||
|
|
||||||
In fact, `Path::Class' uses `File::Spec' internally, wrapping all the
|
In fact, `Path::Class' uses `File::Spec' internally, wrapping all the
|
||||||
unsightly details so you can concentrate on your application code.
|
unsightly details so you can concentrate on your application code.
|
||||||
Whereas `File::Spec' provides functions for some common path
|
Whereas `File::Spec' provides functions for some common path
|
||||||
manipulations, `Path::Class' provides an object-oriented model of the
|
manipulations, `Path::Class' provides an object-oriented model of the
|
||||||
world of path specifications and their underlying semantics.
|
world of path specifications and their underlying semantics.
|
||||||
`File::Spec' doesn't create any objects, and its classes represent the
|
`File::Spec' doesn't create any objects, and its classes represent the
|
||||||
different ways in which paths must be manipulated on various platforms
|
different ways in which paths must be manipulated on various platforms
|
||||||
(not a very intuitive concept). `Path::Class' creates objects
|
(not a very intuitive concept). `Path::Class' creates objects
|
||||||
representing files and directories, and provides methods that relate
|
representing files and directories, and provides methods that relate
|
||||||
them to each other.
|
them to each other.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Ken Williams <KWILLIAMS@cpan.org>
|
Ken Williams <KWILLIAMS@cpan.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Build.PL installdirs=vendor
|
||||||
make %{?_smp_mflags}
|
./Build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
%perl_process_packlist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,-)
|
||||||
/var/adm/perl-modules/%{name}
|
%doc Changes README SIGNATURE
|
||||||
%dir %{perl_vendorlib}/Path/
|
|
||||||
%dir %{perl_vendorlib}/Path/Class/
|
|
||||||
%{perl_vendorlib}/Path/Class.pm
|
|
||||||
%{perl_vendorlib}/Path/Class/Dir.pm
|
|
||||||
%{perl_vendorlib}/Path/Class/Entity.pm
|
|
||||||
%{perl_vendorlib}/Path/Class/File.pm
|
|
||||||
%dir %{perl_vendorarch}/auto/Path/
|
|
||||||
%{perl_vendorarch}/auto/Path/Class/
|
|
||||||
%{_mandir}/man3/Path::Class.3pm*
|
|
||||||
%{_mandir}/man3/Path::Class::Dir.3pm*
|
|
||||||
%{_mandir}/man3/Path::Class::File.3pm*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user