>From fb43ca163e0983ce890c081e2a95edcbd46a5852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk@xxxxxxxxxx> Date: Thu, 2 Apr 2015 16:46:57 +0200 Subject: Initial commit (#1206222) diff --git a/.gitignore b/.gitignore index e69de29..bf38e41 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Dist-Zilla-Plugin-Test-Compile-2.051.tar.gz diff --git a/perl-Dist-Zilla-Plugin-Test-Compile.spec b/perl-Dist-Zilla-Plugin-Test-Compile.spec new file mode 100644 index 0000000..cdf030d --- /dev/null +++ b/perl-Dist-Zilla-Plugin-Test-Compile.spec @@ -0,0 +1,80 @@ +Name: perl-Dist-Zilla-Plugin-Test-Compile +Version: 2.051 +Release: 1%{?dist} +Summary: Common tests to check syntax of your modules, only using core modules +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Dist-Zilla-Plugin-Test-Compile/ +Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Dist-Zilla-Plugin-Test-Compile-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: perl +# XXX: BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::Build::Tiny) >= 0.039 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(Data::Section) >= 0.004 +# XXX: BuildRequires: perl(Dist::Zilla::File::InMemory) +BuildRequires: perl(Dist::Zilla::Role::FileFinderUser) +BuildRequires: perl(Dist::Zilla::Role::FileGatherer) +BuildRequires: perl(Dist::Zilla::Role::FileMunger) +BuildRequires: perl(Dist::Zilla::Role::PrereqSource) +BuildRequires: perl(Dist::Zilla::Role::TextTemplate) +BuildRequires: perl(Moose) +BuildRequires: perl(Moose::Util::TypeConstraints) +BuildRequires: perl(namespace::autoclean) +BuildRequires: perl(Path::Tiny) +BuildRequires: perl(Sub::Exporter::ForMethods) +# Tests only +BuildRequires: perl(CPAN::Meta::Check) >= 0.007 +BuildRequires: perl(CPAN::Meta::Requirements) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::pushd) +BuildRequires: perl(File::Spec) +BuildRequires: perl(if) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Module::CoreList) >= 2.77 +BuildRequires: perl(Perl::PrereqScanner) >= 1.016 +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::DZil) +BuildRequires: perl(Test::MinimumVersion) +BuildRequires: perl(Test::More) >= 0.94 +BuildRequires: perl(Test::Warnings) >= 0.009 +BuildRequires: perl(utf8) +BuildRequires: perl(version) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Dist::Zilla::File::InMemory) +Requires: perl(Dist::Zilla::Role::FileFinderUser) +Requires: perl(Dist::Zilla::Role::FileGatherer) +Requires: perl(Dist::Zilla::Role::FileMunger) +Requires: perl(Dist::Zilla::Role::PrereqSource) +Requires: perl(Dist::Zilla::Role::TextTemplate) + +%description +This is a Dist::Zilla plugin that runs at the gather files stage, providing +a test file (configurable, defaulting to t/00-compile.t). + +%prep +%setup -q -n Dist-Zilla-Plugin-Test-Compile-%{version} + +%build +perl Build.PL --installdirs=vendor +./Build + +%install +./Build install --destdir=%{buildroot} --create_packlist=0 +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%license LICENSE +%doc Changes AUTHOR_PLEDGE CONTRIBUTING README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Mar 26 2015 Petr Å abata <contyk@xxxxxxxxxx> 2.051-1 +- Initial packaging diff --git a/sources b/sources index e69de29..137c000 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c0c56cf037ac2e3a63103bb436470f44 Dist-Zilla-Plugin-Test-Compile-2.051.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Dist-Zilla-Plugin-Test-Compile.git/commit/?h=master&id=fb43ca163e0983ce890c081e2a95edcbd46a5852
-- 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