commit 6bc0ad3609caaaacda5eecd3bd4da396143767ca Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Mon May 6 17:40:32 2013 +0100 Initial import (perl-Test-CheckDeps-0.002-2) This module adds a test that assures all dependencies have been installed properly. If requested, it can bail out all testing on error. .gitignore | 1 + perl-Test-CheckDeps.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 66 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..6882103 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Test-CheckDeps-[0-9.]*.tar.gz diff --git a/perl-Test-CheckDeps.spec b/perl-Test-CheckDeps.spec new file mode 100644 index 0000000..97917a2 --- /dev/null +++ b/perl-Test-CheckDeps.spec @@ -0,0 +1,64 @@ +Name: perl-Test-CheckDeps +Summary: Check for presence of dependencies +Version: 0.002 +Release: 2%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +URL: https://metacpan.org/release/Test-CheckDeps +Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/Test-CheckDeps-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +# Module +BuildRequires: perl(CPAN::Meta) +BuildRequires: perl(CPAN::Meta::Check) +BuildRequires: perl(Exporter) >= 5.57 +BuildRequires: perl(List::Util) +BuildRequires: perl(Module::Metadata) +BuildRequires: perl(Test::Builder) +# Test Suite +BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::More) >= 0.88 +# Release tests +BuildRequires: perl(Pod::Coverage::TrustPod) +# Test::Kwalitee uses Test::CheckDeps in its main test suite +%if 0%{!?perl_bootstrap:1} +BuildRequires: perl(Test::Kwalitee) +%endif +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 adds a test that assures all dependencies have been installed +properly. If requested, it can bail out all testing on error. + +%prep +%setup -q -n Test-CheckDeps-%{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 + +%clean + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/Test/ +%{_mandir}/man3/Test::CheckDeps.3pm* + +%changelog +* Wed May 1 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.002-2 +- Sanitize for Fedora submission + +* Sat Apr 27 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.002-1 +- Initial RPM version diff --git a/sources b/sources index e69de29..4f77cc1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e9dfcb9aa071ee3e3d66578432b8468d Test-CheckDeps-0.002.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel