Sync from SUSE:SLFO:Main perl-File-Copy-Recursive revision f01088623ea1a3b434450ba35159dea6

This commit is contained in:
Adrian Schröter 2024-05-03 18:14:26 +02:00
commit 7f5a5c3f2d
5 changed files with 202 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-Copy-Recursive-0.45.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

@ -0,0 +1,83 @@
-------------------------------------------------------------------
Wed Jul 24 05:08:39 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.45
see /usr/share/doc/packages/perl-File-Copy-Recursive/Changes
- PR #21: fix version 0.43 in Changes file (thanks karenetheridge)
- PR #19: Added missing license meta name. (thanks manwar and karenetheridge)
- PR #24: allow for dev = 0 on NetBSD (thanks plicease)
- PR #25: Remove warning when copying a dir without write perm on the original. (thanks ehickeycp)
- Issue #26: change issues from rt to github
-------------------------------------------------------------------
Wed Sep 26 15:02:28 UTC 2018 - pmonrealgonzalez@suse.com
- update to 0.44
0.44 Tue Apr 24 08:18:19 2018
- Issue #18: fix t/05.legacy-pathmk_unc.t for recent updates
(thanks zdm)
0.43 Sat Apr 21 15:39:09 2018
- pull request #16 - strip down list of prerequisites to
modules that are safe to use high on the CPAN river (thanks
karenetheridge)
0.42 Fri Apr 20 23:42:41 2018
- rt 125136 - reinstate 5.8 compat by not using // operator in
the new unc test (thanks SREZIC)
- pull request #14 - Add .gitignore. (thanks jkeenan)
- pull request #13 - File::Find::Rule is used in the test suite
but not named as a prequisite in Makefile.PL. (thanks jkeenan)
0.41 Thu Apr 19 15:58:12 2018
- Issue #10 and #8: fix Makefile.PL; add github metadata
(thanks karenetheridge and chorny)
- Issue #11: Fix the test failure described in RT#123964
(thanks tomhukins and SREZIC)
- Issue #9: Fixes for Windows (thanks chorny)
- rt 124324 - fix v0.40 changelog date (thanks ANDK)
- rt 124151 - pathrm with force on should guard against absolute
paths (thanks chorny)
- rt 124423 - have fcopy() work around File::Copy::copy() bug
rt132866 (thanks DROLSKY)
- Issue #12 and rt 124166 - set umask for reliability (thanks
teoric and ether)
- rt 43328 - add ULC test to verify pathmk() w/ ULC (thanks
willi.weikum and LouisStrous)
0.40 Tue Jan 16 10:00:09 2018
- github Issue #5 - Deep directories pathmk
- rt 123966 - switch to bsd_glob() since glob() will disappear
in perl 5.30
- rt 123971 - skip symlink tests when the OS does not support
symlinks
- rt 123970 - use Path::Tiny instead of File::Slurp in tests
- rt 117241 - add test for read only directories
0.39 Fri Dec 29 13:26:12 2017
- tidy code
- Change into directory before emptying it
- Stop emptying/removing a path if it is changed out from
underneath us
- pathrm() fixes
- Actual unit tests!
- Cleaned with spec-cleaner
-------------------------------------------------------------------
Fri Dec 2 06:48:54 UTC 2011 - coolo@suse.com
- regenerate with cpanspec (to fix license)
-------------------------------------------------------------------
Thu Dec 1 08:44:55 UTC 2011 - idoenmez@suse.de
- Cleanup spec formatting
- Add license boilerplate
-------------------------------------------------------------------
Mon Dec 27 21:58:15 UTC 2010 - pascal.bleser@opensuse.org
- initial package (0.38)

View File

@ -0,0 +1,65 @@
#
# spec file for package perl-File-Copy-Recursive
#
# Copyright (c) 2019 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
# 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-Copy-Recursive
Version: 0.45
Release: 0
%define cpan_name File-Copy-Recursive
Summary: Perl extension for recursively copying files and directories
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/D/DM/DMUEY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::File)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Warnings)
%{perl_requires}
%description
This module copies and moves directories recursively (or single files,
well... singley) to an optional depth and attempts to preserve each file or
directory's mode.
%prep
%setup -q -n %{cpan_name}-%{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 README.md
%changelog