4e946e
# Run extra test
4e946e
%if ! (0%{?rhel})
4e946e
%bcond_without perl_CPAN_Meta_Check_enables_extra_test
4e946e
%else
4e946e
%bcond_with perl_CPAN_Meta_Check_enables_extra_test
4e946e
%endif
4e946e
4e946e
Name:		perl-CPAN-Meta-Check
4e946e
Summary:	Verify requirements in a CPAN::Meta object
4e946e
Version:	0.014
4e946e
Release:	17%{?dist}
4e946e
License:	GPL+ or Artistic
4e946e
URL:		https://metacpan.org/release/CPAN-Meta-Check
4e946e
Source0:	https://cpan.metacpan.org/modules/by-module/CPAN/CPAN-Meta-Check-%{version}.tar.gz
4e946e
BuildArch:	noarch
4e946e
# Build
4e946e
BuildRequires:	coreutils
4e946e
BuildRequires:	findutils
4e946e
BuildRequires:	make
4e946e
BuildRequires:	perl-generators
4e946e
BuildRequires:	perl-interpreter
4e946e
BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
4e946e
# Module
4e946e
BuildRequires:	perl(base)
4e946e
BuildRequires:	perl(CPAN::Meta::Prereqs) >= 2.132830
4e946e
BuildRequires:	perl(CPAN::Meta::Requirements) >= 2.121
4e946e
BuildRequires:	perl(Exporter)
4e946e
BuildRequires:	perl(Module::Metadata) >= 1.000023
4e946e
BuildRequires:	perl(strict)
4e946e
BuildRequires:	perl(warnings)
4e946e
# Test
4e946e
BuildRequires:	perl(CPAN::Meta) >= 2.120920
4e946e
BuildRequires:	perl(Env)
4e946e
BuildRequires:	perl(lib)
4e946e
BuildRequires:	perl(Test::Deep)
4e946e
BuildRequires:	perl(Test::More) >= 0.88
4e946e
%if %{with perl_CPAN_Meta_Check_enables_extra_test} && !%{defined perl_bootstrap}
4e946e
# Break a build cycle: perl-Pod-Coverage-TrustPod → perl-Pod-Eventual
4e946e
# → perl-Mixin-Linewise → perl-Sub-Exporter → perl-Params-Util
4e946e
# → perl-Config-AutoConf → perl-File-Slurper → perl-Test-Warnings
4e946e
# → perl-CPAN-Meta-Check
4e946e
# Extra tests
4e946e
BuildRequires:	perl(blib)
4e946e
BuildRequires:	perl(File::Spec)
4e946e
BuildRequires:	perl(IO::Handle)
4e946e
BuildRequires:	perl(IPC::Open3)
4e946e
BuildRequires:	perl(Pod::Coverage::TrustPod)
4e946e
BuildRequires:	perl(Test::Pod) >= 1.41
4e946e
BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
4e946e
%endif
4e946e
# Runtime
4e946e
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
4e946e
4e946e
%description
4e946e
This module verifies if requirements described in a CPAN::Meta object are
4e946e
present.
4e946e
4e946e
%prep
4e946e
%setup -q -n CPAN-Meta-Check-%{version}
4e946e
4e946e
%build
4e946e
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
4e946e
%{make_build}
4e946e
4e946e
%install
4e946e
%{make_install}
4e946e
%{_fixperms} -c %{buildroot}
4e946e
4e946e
%check
4e946e
make test
4e946e
%if %{with perl_CPAN_Meta_Check_enables_extra_test} && !%{defined perl_bootstrap}
4e946e
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
4e946e
%endif
4e946e
4e946e
%files
4e946e
%license LICENSE
4e946e
%doc Changes README
4e946e
%{perl_vendorlib}/CPAN/
4e946e
%{_mandir}/man3/CPAN::Meta::Check.3*
4e946e
4e946e
%changelog
4e946e
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.014-17
4e946e
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
4e946e
  Related: rhbz#1991688
4e946e
4e946e
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.014-16
4e946e
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
4e946e
4e946e
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-15
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4e946e
4e946e
* Tue Jan 12 2021 Paul Howarth <paul@city-fan.org> - 0.014-14
4e946e
- Spec clean-up
4e946e
  - Use author-independent source URL
4e946e
  - Specify all build dependencies
4e946e
  - Use %%{make_build} and %%{make_install}
4e946e
  - Fix permissions of installed files
4e946e
4e946e
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-13
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4e946e
4e946e
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.014-12
4e946e
- Perl 5.32 rebuild
4e946e
4e946e
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-11
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4e946e
4e946e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-10
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4e946e
4e946e
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.014-9
4e946e
- Perl 5.30 rebuild
4e946e
4e946e
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-8
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4e946e
4e946e
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-7
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4e946e
4e946e
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.014-6
4e946e
- Perl 5.28 rebuild
4e946e
4e946e
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-5
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4e946e
4e946e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-4
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4e946e
4e946e
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.014-3
4e946e
- Perl 5.26 rebuild
4e946e
4e946e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-2
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4e946e
4e946e
* Sat Nov 26 2016 Paul Howarth <paul@city-fan.org> - 0.014-1
4e946e
- Update to 0.014
4e946e
  - Undef versions are now passed through to CPAN::Meta::Requirements for the
4e946e
    check, rather than failing with "Missing version" errors
4e946e
4e946e
* Thu Jul 21 2016 Paul Howarth <paul@city-fan.org> - 0.013-1
4e946e
- Update to 0.013
4e946e
  - Make tests more resilient against dev versions of dependencies
4e946e
- BR: perl-generators
4e946e
- Drop legacy Group: tag
4e946e
- Take advantage of features in recent EU::MM to simplify flow
4e946e
4e946e
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-3
4e946e
- Perl 5.24 rebuild
4e946e
4e946e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.012-2
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4e946e
4e946e
* Fri Jun 19 2015 Paul Howarth <paul@city-fan.org> - 0.012-1
4e946e
- Update to 0.012
4e946e
  - Drop dependency on Exporter 5.57
4e946e
4e946e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.011-3
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4e946e
4e946e
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.011-2
4e946e
- Perl 5.22 rebuild
4e946e
4e946e
* Mon Mar 23 2015 Paul Howarth <paul@city-fan.org> - 0.011-1
4e946e
- Update to 0.011
4e946e
  - Declare the minimum version required for the "merged_requirements"
4e946e
    interface
4e946e
- Explicitly run the extra tests
4e946e
4e946e
* Mon Feb  2 2015 Paul Howarth <paul@city-fan.org> - 0.010-1
4e946e
- Update to 0.010
4e946e
  - Bump Module::Metadata prereq for $VERSION parsing (CPAN RT#101095)
4e946e
  - Consistently require same version of CPAN::Meta::Requirements
4e946e
- Use %%license
4e946e
4e946e
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-3
4e946e
- Perl 5.20 rebuild
4e946e
4e946e
* Tue Jul  1 2014 Paul Howarth <paul@city-fan.org> - 0.009-2
4e946e
- Always run the release tests (#1114859)
4e946e
4e946e
* Mon Jun 23 2014 Paul Howarth <paul@city-fan.org> - 0.009-1
4e946e
- Update to 0.009
4e946e
  - Various POD fixes
4e946e
4e946e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-2
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4e946e
4e946e
* Thu Oct 17 2013 Paul Howarth <paul@city-fan.org> - 0.008-1
4e946e
- Update to 0.008
4e946e
  - Switch to using merged_requirements
4e946e
  - Test Env instead of Carp for version overshoot (CPAN RT#89591)
4e946e
  - Document $incdirs in the right function
4e946e
4e946e
* Wed Sep  4 2013 Paul Howarth <paul@city-fan.org> - 0.007-3
4e946e
- Skip the release tests when bootstrapping
4e946e
4e946e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-2
4e946e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4e946e
4e946e
* Wed Jul 31 2013 Paul Howarth <paul@city-fan.org> - 0.007-1
4e946e
- Update to 0.007
4e946e
  - Swap conflicts test, as underscore versions broke it (CPAN RT#87438)
4e946e
4e946e
* Sat Jul 27 2013 Paul Howarth <paul@city-fan.org> - 0.006-1
4e946e
- Update to 0.006
4e946e
  - Fixed bad dereference during conflicts checking
4e946e
4e946e
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 0.005-3
4e946e
- Perl 5.18 rebuild
4e946e
4e946e
* Wed May  1 2013 Paul Howarth <paul@city-fan.org> - 0.005-2
4e946e
- Sanitize for Fedora submission
4e946e
4e946e
* Sat Apr 27 2013 Paul Howarth <paul@city-fan.org> - 0.005-1
4e946e
- Initial RPM version