parent
8aed0e0434
commit
7e44db132c
@ -0,0 +1 @@
|
|||||||
|
/Test-Mock-Time-v0.1.6.tar.gz
|
@ -0,0 +1,69 @@
|
|||||||
|
Name: perl-Test-Mock-Time
|
||||||
|
Version: 0.1.6
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Deterministic time & timers for event loop tests
|
||||||
|
License: MIT
|
||||||
|
|
||||||
|
URL: http://search.cpan.org/dist/Test-Mock-Time/
|
||||||
|
Source0: http://www.cpan.org/authors/id/P/PO/POWERMAN/Test-Mock-Time-v%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(AnyEvent)
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Export::Attrs)
|
||||||
|
BuildRequires: perl(EV)
|
||||||
|
BuildRequires: perl(List::Util)
|
||||||
|
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
||||||
|
BuildRequires: perl(Mojolicious) >= 6
|
||||||
|
BuildRequires: perl(Mojo::IOLoop)
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
BuildRequires: perl(Test::Distribution)
|
||||||
|
BuildRequires: perl(Test::Exception)
|
||||||
|
BuildRequires: perl(Test::MockModule)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test::Perl::Critic)
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.41
|
||||||
|
BuildRequires: perl(Time::HiRes)
|
||||||
|
BuildRequires: perl(bignum)
|
||||||
|
BuildRequires: perl(constant)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(utf8)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module replaces actual time with simulated time everywhere (core
|
||||||
|
time(), Time::HiRes, EV, AnyEvent with EV, Mojolicious, …) and provide
|
||||||
|
a way to write deterministic tests for event loop based applications
|
||||||
|
with timers.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Test-Mock-Time-v%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Build.PL --installdirs=vendor
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
AUTHOR_TESTING=1 RELEASE_TESTING=1 ./Build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README
|
||||||
|
%license LICENSE
|
||||||
|
%{perl_vendorlib}/Test*
|
||||||
|
%{_mandir}/man3/Test*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Nov 28 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 0.1.6-2
|
||||||
|
- Take into account review feedback (#1517102)
|
||||||
|
|
||||||
|
* Fri Nov 24 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 0.1.6-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue