Sync from SUSE:SLFO:Main perl-File-Path revision be84692adb2d6f50db16d5e6b98e5eb0

This commit is contained in:
Adrian Schröter 2024-05-03 18:15:38 +02:00
commit 612b4a9d3e
5 changed files with 319 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
File-Path-2.18.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
description_paragraphs: 1
#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_install: |-
# sed on %{name}.files
license: Perl License
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

209
perl-File-Path.changes Normal file
View File

@ -0,0 +1,209 @@
-------------------------------------------------------------------
Thu Nov 5 03:08:34 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 2.18
see /usr/share/doc/packages/perl-File-Path/Changes
2.18 Wed Nov 4 20:21:01 EST 2020
- Silence two warnings in t/Path.t when run on Win32
(RT 133671 - thanks to Tony Cook).
-------------------------------------------------------------------
Thu Jul 30 10:38:28 UTC 2020 - Tina Müller <tina.mueller@suse.com>
- Revert last change as requested (2.17 -> 2.170000)
-------------------------------------------------------------------
Tue Jul 28 10:46:26 UTC 2020 - Tina Müller <tina.mueller@suse.com>
- Fix version (2.17 vs. 2.170000)
-------------------------------------------------------------------
Thu Jul 23 10:33:48 UTC 2020 - Pedro Monreal <pmonreal@suse.com>
- updated to 2.17
see /usr/share/doc/packages/perl-File-Path/Changes
2.17 2020-07-18
- Eliminate one line of debugging code which was generating
a warning.
-------------------------------------------------------------------
Sat Sep 1 05:23:30 UTC 2018 - coolo@suse.com
- updated to 2.16
see /usr/share/doc/packages/perl-File-Path/Changes
2.16 2018-08-31
- Correct inadequate method of generating names for dummy users
and groups during testing (RTC 121967). No change in
functionality from 2.15.
-------------------------------------------------------------------
Mon Jul 31 05:32:54 UTC 2017 - coolo@suse.com
- updated to 2.15
see /usr/share/doc/packages/perl-File-Path/Changes
2.15 2017-07-29
- Correct documentation error re possible arguments for rmtree().
-------------------------------------------------------------------
Wed Jun 21 05:38:40 UTC 2017 - coolo@suse.com
- updated to 2.14
see /usr/share/doc/packages/perl-File-Path/Changes
2.14 2017-06-07
- When creating subdirectories for testing underneath
File::Spec::Functions::tmpdir(), use randomly generated strings.
- No change in functionality from 2.13.
-------------------------------------------------------------------
Fri Jun 2 05:43:59 UTC 2017 - coolo@suse.com
- updated to 2.13
see /usr/share/doc/packages/perl-File-Path/Changes
2.13 2017-05-31
- Document security vulnerability reported as CVE-2017-6512.
2.12_008 2017-05-07
- Patch from John Lightsey.
2.12_007 2017-04-22
- Skip tests where filesystem doesn't support permissions (RT 121248).
- Add AppVeyor configuration; thanks to Charlie Gonzalez and Hayo Baan.
2.12_006 2017-04-21
- Modernize README, Makefile.PL, updating of version number
and release date in documentation.
2.12_005 2017-04-21
- Recommend use of 'safe => 1' in remove_tree() and rmtree().
- Warn if mkpath() or make_path() is passed implausible options on
Windows.
- Corrections to errors in previous release.
2.12_004 2017-04-18
- Certain functions used in tests are not available on Windows;
skip them.
- Move certain functions used in testing to t/FilePathTest.pm.
2.12_003 2017-04-07
- Add tests to improve coverage ratios as measured by Devel::Cover
- No functional changes.
2.12_002 2017-03-12
- GH#41 RT 117019 Fixed File::Path::remove_tree option hash is auto
populated and cannot be reused
- GH#40 Unskip in path root t
- GH#39 Remove superfluous assignment to $arg{perm}
- GH#38 Minor grammatical doc fixes.
- GH#37 Minor grammatical doc fixes.
2.12_001 2016-09-18
- RT 94209 document that the thread safety issue will not change and
communicate alternative.
- RT 85878 be more generous with error check regex given we could be
dealing with a pre-1.25 Carp.
- GH #33 Be more precise in documentation example for make_path
error checking.
- GH #34 Skip Windows 2000 and earlier unit tests (test change).
- GH #36 Do not hardcode ENOENT (test change).
-------------------------------------------------------------------
Sat Oct 10 08:56:34 UTC 2015 - coolo@suse.com
- updated to 2.12
see /usr/share/doc/packages/perl-File-Path/Changes
2.12 2015-10-09
- RT 105935 Change ERROR HANDLING doc section to be very clear about the
error handling mechanism for root nodes.
- RT 105935 Change ERROR HANDLING doc section to remove the EXPERIMENTAL
note; the error handling mechanism has been in place for several versions.
2.11_004 2015-10-01
- RT 105935 Revert change made in 2.10_001 to carp on failure to find root
directory when performing an rmtree.
2.11_003 2015-08-03
- Fix root tests to properly call prereq() -- failed primarily on Windows
since getpwent/getgrent not implemented on Windows.
2.11_002 2015-07-25
- Fix windows refactored tests - missing import and since it's out of
Path.t the path creation creates 2 directories (t/Path_win32.t)
- Fix root only tests. getpwent/getgrent was called twice, causing
skip_all to trigger and giving impression all tests pass.
2.11_001 2015-07-24
- RT 105527 FIX: Move eg/ and author tests from t/Path.t to xt/
- RT 105935 FIX: Clarify error behavior for rmtree errors on root directory
(not fixed but documented). Clarify in documentation the how alike
rmtree is to 'rm -r'.
- RT 105977 FIX: Fix INSTALLDIRS for Perl 5.6
- RT 105986 FIX: Refactor unit tests to better care for test counts
- RT 106039 FIX: Wrong version in Pod
- RT 106043 FIX: Suboptimal error message
- RT 106045 FIX: _run_for_warning does not consume multiple messages
- RT 106047 FIX: _run_for_verbose cause fail test on 5.6.2
- Removed optional File::Output usage and run those tests for everyone.
-------------------------------------------------------------------
Mon Sep 7 15:19:52 UTC 2015 - coolo@suse.com
- extend version
-------------------------------------------------------------------
Sun Jul 19 08:50:47 UTC 2015 - coolo@suse.com
- updated to 2.11
see /usr/share/doc/packages/perl-File-Path/Changes
2.11 2015-07-17
- Change argument check error from croak to carp since there are some
dependent modules using non-standard options. The error check will
move back to croak when dependent modules have the opportunity to
correct the argument.
2.10_005 2015-07-17
- Better argument checking and reporting of failure for unrecognized
options.
- RT 71562 Document automount race condition limitation and workaround
- RT 99230 Document multithreaded application limitation and that the
limitation may be removed in a future release.
2.10_004 2015-07-10
- Remove use of English.pm since it breaks many older Perls
- Fix a unit test skip count for users who have not installed
Test::Output
2.10_003 2015-07-08
- Administrative changes to MANIFEST and MANIFEST.SKIP
- Style changes to Path.pm for easier reading of code
- Removal of pod.t
- Use English.pm to make variables like $! more fluent for code readers
2.10_002 2015-06-26
- RT 42139. Add better SKIP test emit for VMS.
- RT 85360. Fix typos and better .gitignore and MANIFEST.SKIP settings.
- RT 51588. Added patch elements but unable to verify on VMS.
2.10_001 2015-06-24
- RT 39949. Report errors on lstat failure.
- RT 53178. Deprecate UNIVERSAL::isa usage
- RT 70657. Test added.
- RT 70938. Documentation fix for Windows native relative usage
- RT 72256. Option added for setting permission (chmod)
- RT 73840. Fix taint/untaint bug.
- RT 95150. Add CPAN metadata for source tree location.
- RT 103512. Documentation language fix.
-------------------------------------------------------------------
Fri Jan 17 20:07:03 UTC 2014 - lars@linux-schulserver.de
- initial package 2.09

61
perl-File-Path.spec Normal file
View File

@ -0,0 +1,61 @@
#
# spec file for package perl-File-Path
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-File-Path
Version: 2.180000
Release: 0
%define cpan_version 2.18
Provides: perl(File::Path) = 2.180000
#Upstream: James Keenan and Richard Elberger 1995-2020. All rights reserved.
%define cpan_name File-Path
Summary: Create or remove directory trees
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
This module provides a convenient way to create directories of arbitrary
depth and to delete an entire directory subtree from the filesystem.
%prep
%setup -q -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog