Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/perl-CPAN-Meta-Check.git#809be249154c20305d1e481db1f7d15c84687931
This commit is contained in:
DistroBaker 2021-01-12 09:35:44 +00:00
parent 90f180ffc7
commit f9aaded2ab
1 changed files with 21 additions and 7 deletions

View File

@ -8,15 +8,17 @@
Name: perl-CPAN-Meta-Check Name: perl-CPAN-Meta-Check
Summary: Verify requirements in a CPAN::Meta object Summary: Verify requirements in a CPAN::Meta object
Version: 0.014 Version: 0.014
Release: 13%{?dist} Release: 14%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/CPAN-Meta-Check 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 BuildArch: noarch
# Build # Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Module # Module
BuildRequires: perl(base) BuildRequires: perl(base)
@ -32,7 +34,11 @@ BuildRequires: perl(Env)
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.88 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 # Extra tests
BuildRequires: perl(blib) BuildRequires: perl(blib)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
@ -54,14 +60,15 @@ present.
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make install DESTDIR=%{buildroot} %{make_install}
%{_fixperms} -c %{buildroot}
%check %check
make test 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'))" make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%endif %endif
@ -72,6 +79,13 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%{_mandir}/man3/CPAN::Meta::Check.3* %{_mandir}/man3/CPAN::Meta::Check.3*
%changelog %changelog
* Tue Jan 12 2021 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 0.014-13 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild