Initial import (perl-CPAN-Meta-Check-0.005-2)
This module verifies if requirements described in a CPAN::Meta object are present.
This commit is contained in:
parent
7617f3c60e
commit
71e3fe0eb8
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/CPAN-Meta-Check-[0-9.]*.tar.gz
|
57
perl-CPAN-Meta-Check.spec
Normal file
57
perl-CPAN-Meta-Check.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
Name: perl-CPAN-Meta-Check
|
||||||
|
Summary: Verify requirements in a CPAN::Meta object
|
||||||
|
Version: 0.005
|
||||||
|
Release: 2%{?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(ExtUtils::MakeMaker) >= 6.30
|
||||||
|
# Module
|
||||||
|
BuildRequires: perl(CPAN::Meta) >= 2.120920
|
||||||
|
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120920
|
||||||
|
BuildRequires: perl(Exporter) >= 5.57
|
||||||
|
BuildRequires: perl(Module::Metadata)
|
||||||
|
# Test
|
||||||
|
BuildRequires: perl(File::Temp)
|
||||||
|
BuildRequires: perl(Test::Deep)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
# Release tests
|
||||||
|
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 RELEASE_TESTING=1
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes LICENSE README
|
||||||
|
%{perl_vendorlib}/CPAN/
|
||||||
|
%{_mandir}/man3/CPAN::Meta::Check.3pm*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* 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
|
Loading…
Reference in New Issue
Block a user