Modernize spec.

Convert license to SPDX.
Update sources to sha512.
This commit is contained in:
Ralf Corsépius 2022-11-28 16:39:16 +01:00
parent 8a4962b5de
commit cbb86ab8d5
2 changed files with 13 additions and 7 deletions

View File

@ -1,13 +1,14 @@
Name: perl-File-Find-Rule
Version: 0.34
Release: 22%{?dist}
Release: 23%{?dist}
Summary: Perl module implementing an alternative interface to File::Find
License: GPL+ or Artistic
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/File-Find-Rule
Source0: https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/File-Find-Rule-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: %{__make}
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
@ -27,11 +28,11 @@ you to build rules which specify the desired files and directories.
%setup -q -n File-Find-Rule-%{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 PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
%{make_install}
chmod -R u+w $RPM_BUILD_ROOT/*
%check
@ -45,6 +46,11 @@ make test
%{_mandir}/man3/*
%changelog
* Mon Nov 28 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.34-23
- Modernize spec.
- Convert license to SPDX.
- Update sources to sha512.
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
a7aa9ad4d8ee87b2a77b8e3722768712 File-Find-Rule-0.34.tar.gz
SHA512 (File-Find-Rule-0.34.tar.gz) = 97328a86578942d214f7ac530cc88fc84dc7ef2018db06b8c0c58907a4045e90c9c97d1848ed4f16838bd8ca591aca4fa9f24649c81fd8dfe9efe7a2f9f2722c