Import
This commit is contained in:
parent
bb76c61b9f
commit
db77b535ad
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Test2-Suite-0.000020.tar.gz
|
||||
78
perl-Test2-Suite.spec
Normal file
78
perl-Test2-Suite.spec
Normal file
@ -0,0 +1,78 @@
|
||||
Name: perl-Test2-Suite
|
||||
Version: 0.000020
|
||||
Release: 1%{?dist}
|
||||
Summary: Set of tools built upon the Test2 framework
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test2-Suite/
|
||||
Source0: http://www.cpan.org/authors/id/E/EX/EXODIST/Test2-Suite-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: perl(B)
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
# 0.000016 from Test2 in META
|
||||
BuildRequires: perl(Test2::API) >= 0.000016
|
||||
BuildRequires: perl(Test2::Hub::Interceptor)
|
||||
BuildRequires: perl(Test2::Util)
|
||||
BuildRequires: perl(Test2::Util::HashBase)
|
||||
BuildRequires: perl(Test2::Util::Trace)
|
||||
BuildRequires: perl(utf8)
|
||||
# Optional run-time:
|
||||
BuildRequires: perl(Term::ReadKey)
|
||||
BuildRequires: perl(Unicode::GCString)
|
||||
# Tests:
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(PerlIO)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
# 0.000016 from Test2 in META
|
||||
Requires: perl(Test2::API) >= 0.000016
|
||||
Requires: perl(utf8)
|
||||
# Term::ReadKey for terminal width
|
||||
Recommends: perl(Term::ReadKey)
|
||||
# Unicode::GCString for formating double-width string
|
||||
Recommends: perl(Unicode::GCString)
|
||||
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Test2::API\\)$
|
||||
|
||||
%description
|
||||
Rich set of tools, plugins, bundles, etc. built upon the Test2 testing
|
||||
library. If you are interested in writing Perl tests this is the distribution
|
||||
for you.
|
||||
|
||||
%prep
|
||||
%setup -q -n Test2-Suite-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 11 2016 Petr Pisar <ppisar@redhat.com> 0.000020-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user