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