perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.spec
Paul Howarth 20cd605505 Update to 0.012
- New upstream release 0.012
  - Drop dependency on Exporter 5.57
2015-06-19 12:19:08 +01:00

125 lines
3.8 KiB
RPMSpec

Name: perl-CPAN-Meta-Check
Summary: Verify requirements in a CPAN::Meta object
Version: 0.012
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: https://metacpan.org/release/CPAN-Meta-Check
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/CPAN-Meta-Check-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
# Module
BuildRequires: perl(base)
BuildRequires: perl(CPAN::Meta::Prereqs) >= 2.132830
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Metadata) >= 1.000023
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test
BuildRequires: perl(Env)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.88
# Extra tests
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This module verifies if requirements described in a CPAN::Meta object are
present.
%prep
%setup -q -n CPAN-Meta-Check-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
%check
make test
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/CPAN/
%{_mandir}/man3/CPAN::Meta::Check.3*
%changelog
* Fri Jun 19 2015 Paul Howarth <paul@city-fan.org> - 0.012-1
- Update to 0.012
- Drop dependency on Exporter 5.57
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.011-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.011-2
- Perl 5.22 rebuild
* Mon Mar 23 2015 Paul Howarth <paul@city-fan.org> - 0.011-1
- Update to 0.011
- Declare the minimum version required for the "merged_requirements"
interface
- Explicitly run the extra tests
* Mon Feb 2 2015 Paul Howarth <paul@city-fan.org> - 0.010-1
- Update to 0.010
- Bump Module::Metadata prereq for $VERSION parsing (CPAN RT#101095)
- Consistently require same version of CPAN::Meta::Requirements
- Use %%license
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-3
- Perl 5.20 rebuild
* Tue Jul 1 2014 Paul Howarth <paul@city-fan.org> - 0.009-2
- Always run the release tests (#1114859)
* Mon Jun 23 2014 Paul Howarth <paul@city-fan.org> - 0.009-1
- Update to 0.009
- Various POD fixes
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Oct 17 2013 Paul Howarth <paul@city-fan.org> - 0.008-1
- Update to 0.008
- Switch to using merged_requirements
- Test Env instead of Carp for version overshoot (CPAN RT#89591)
- Document $incdirs in the right function
* Wed Sep 4 2013 Paul Howarth <paul@city-fan.org> - 0.007-3
- Skip the release tests when bootstrapping
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jul 31 2013 Paul Howarth <paul@city-fan.org> - 0.007-1
- Update to 0.007
- Swap conflicts test, as underscore versions broke it (CPAN RT#87438)
* Sat Jul 27 2013 Paul Howarth <paul@city-fan.org> - 0.006-1
- Update to 0.006
- Fixed bad dereference during conflicts checking
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 0.005-3
- Perl 5.18 rebuild
* Wed May 1 2013 Paul Howarth <paul@city-fan.org> - 0.005-2
- Sanitize for Fedora submission
* Sat Apr 27 2013 Paul Howarth <paul@city-fan.org> - 0.005-1
- Initial RPM version