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