forked from pool/perl-File-Copy-Recursive
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
82a128ce32 | |||
8cca46964f |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 20 13:20:07 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 05:08:39 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-File-Copy-Recursive
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX 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
|
||||
@@ -16,18 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
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
|
||||
Name: perl-File-Copy-Recursive
|
||||
Version: 0.450.0
|
||||
Release: 0
|
||||
# 0.45 -> normalize -> 0.450.0
|
||||
%define cpan_version 0.45
|
||||
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
|
||||
Summary: Perl extension for recursively copying files and directories
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DM/DMUEY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Path::Tiny)
|
||||
@@ -36,6 +36,8 @@ BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::File)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Warnings)
|
||||
Provides: perl(File::Copy::Recursive) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -44,11 +46,11 @@ well... singley) to an optional depth and attempts to preserve each file or
|
||||
directory's mode.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -59,7 +61,6 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README README.md
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user