diff --git a/perl-CPAN-Meta-Check.spec b/perl-CPAN-Meta-Check.spec index 66d9190..dd0d200 100644 --- a/perl-CPAN-Meta-Check.spec +++ b/perl-CPAN-Meta-Check.spec @@ -8,15 +8,17 @@ Name: perl-CPAN-Meta-Check Summary: Verify requirements in a CPAN::Meta object Version: 0.014 -Release: 13%{?dist} +Release: 14%{?dist} License: GPL+ or Artistic URL: https://metacpan.org/release/CPAN-Meta-Check -Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/CPAN-Meta-Check-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/CPAN/CPAN-Meta-Check-%{version}.tar.gz BuildArch: noarch # Build +BuildRequires: coreutils +BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Module BuildRequires: perl(base) @@ -32,7 +34,11 @@ BuildRequires: perl(Env) BuildRequires: perl(lib) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.88 -%if %{with perl_CPAN_Meta_Check_enables_extra_test} +%if %{with perl_CPAN_Meta_Check_enables_extra_test} && !%{defined perl_bootstrap} +# Break a build cycle: perl-Pod-Coverage-TrustPod → perl-Pod-Eventual +# → perl-Mixin-Linewise → perl-Sub-Exporter → perl-Params-Util +# → perl-Config-AutoConf → perl-File-Slurper → perl-Test-Warnings +# → perl-CPAN-Meta-Check # Extra tests BuildRequires: perl(blib) BuildRequires: perl(File::Spec) @@ -54,14 +60,15 @@ present. %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 -make %{?_smp_mflags} +%{make_build} %install -make install DESTDIR=%{buildroot} +%{make_install} +%{_fixperms} -c %{buildroot} %check make test -%if %{with perl_CPAN_Meta_Check_enables_extra_test} +%if %{with perl_CPAN_Meta_Check_enables_extra_test} && !%{defined perl_bootstrap} make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" %endif @@ -72,6 +79,13 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" %{_mandir}/man3/CPAN::Meta::Check.3* %changelog +* Tue Jan 12 2021 Paul Howarth - 0.014-14 +- Spec clean-up + - Use author-independent source URL + - Specify all build dependencies + - Use %%{make_build} and %%{make_install} + - Fix permissions of installed files + * Tue Jul 28 2020 Fedora Release Engineering - 0.014-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild