parent
19fa62708b
commit
31e5761d6f
|
@ -1,8 +1,8 @@
|
|||
Name: perl-File-Copy-Recursive
|
||||
Version: 0.45
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: Extension for recursively copying files and directories
|
||||
License: GPL+ or Artistic
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
URL: https://metacpan.org/release/File-Copy-Recursive
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/File/File-Copy-Recursive-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
@ -11,7 +11,6 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|||
# rpm's perl dep generators fails to catch this
|
||||
Requires: perl(File::Glob)
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: %{__perl}
|
||||
BuildRequires: %{__make}
|
||||
|
||||
|
@ -43,11 +42,11 @@ attempts to preserve each file or directory's mode.
|
|||
%setup -q -n File-Copy-Recursive-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
%{__make} %{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{__make} pure_install DESTDIR=%{buildroot}
|
||||
%{make_install}
|
||||
chmod -R u+w %{buildroot}/*
|
||||
|
||||
%check
|
||||
|
@ -59,6 +58,10 @@ chmod -R u+w %{buildroot}/*
|
|||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 28 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.45-11
|
||||
- Modernize spec.
|
||||
- Convert license to SPDX.
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.45-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue