diff --git a/perl-Test-CPAN-Meta-JSON.spec b/perl-Test-CPAN-Meta-JSON.spec index 59426e6..822e75b 100644 --- a/perl-Test-CPAN-Meta-JSON.spec +++ b/perl-Test-CPAN-Meta-JSON.spec @@ -1,15 +1,18 @@ Name: perl-Test-CPAN-Meta-JSON Version: 0.16 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Validate a META.json file within a CPAN distribution License: Artistic 2.0 URL: https://metacpan.org/release/Test-CPAN-Meta-YAML -Source0: https://cpan.metacpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-CPAN-Meta-JSON-%{version}.tar.gz Patch0: Test-CPAN-Meta-JSON-0.16-utf8.patch BuildArch: noarch # Module Build -BuildRequires: perl-interpreter +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(IO::File) @@ -47,10 +50,9 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -%{_fixperms} %{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check make test AUTOMATED_TESTING=1 @@ -67,6 +69,14 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/Test::CPAN::Meta::JSON::Version.3* %changelog +* Tue Oct 29 2019 Paul Howarth - 0.16-15 +- Spec tidy-up + - Use author-independent source URL + - Specify all build dependencies + - Drop redundant buildroot cleaning in %%install section + - Simplify find command using -delete + - Fix permissions verbosely + * Fri Jul 26 2019 Fedora Release Engineering - 0.16-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild