40f2f21
Name:           perl-Time-Mock
40f2f21
Version:        0.0.2
a3817ec
Release:        19%{?dist}
40f2f21
Summary:        Replaces actual time with simulated time - alternative to Test::MockTime
40f2f21
License:        GPL+ or Artistic
1823d70
URL:            https://metacpan.org/release/Time-Mock
1823d70
Source0:        https://cpan.metacpan.org/authors/id/E/EW/EWILHELM/Time-Mock-v%{version}.tar.gz
40f2f21
40f2f21
BuildArch:      noarch
84f2e0b
BuildRequires:  perl-generators
40f2f21
BuildRequires:  perl(Date::Parse) >= 2.27
40f2f21
BuildRequires:  perl(Module::Build)
40f2f21
BuildRequires:  perl(Test::More)
40f2f21
BuildRequires:  perl(Time::HiRes)
40f2f21
BuildRequires:  perl(Carp)
40f2f21
BuildRequires:  perl(strict), perl(version), perl(warnings)
40f2f21
40f2f21
Requires:       perl(Date::Parse) >= 2.27
40f2f21
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
40f2f21
40f2f21
%description
40f2f21
This is an alternative to Test::MockTime which enables test suites to 
40f2f21
test code at specific points in time. Test::MockTime is nice, but doesn't
40f2f21
allow you to accelerate the time step and doesn't deal with Time::HiRes or 
40f2f21
give you any way to change the time across forks.
40f2f21
40f2f21
%prep
40f2f21
%setup -q -n Time-Mock-v%{version}
40f2f21
40f2f21
%build
40f2f21
perl Build.PL installdirs=vendor
40f2f21
./Build
40f2f21
40f2f21
%install
40f2f21
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
40f2f21
40f2f21
%{_fixperms} $RPM_BUILD_ROOT/*
40f2f21
40f2f21
%check
40f2f21
./Build test
40f2f21
40f2f21
%files
40f2f21
%doc Changes README
40f2f21
%{perl_vendorlib}/*
40f2f21
%{_mandir}/man3/*
40f2f21
40f2f21
%changelog
a3817ec
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-19
a3817ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a3817ec
f2b7ee5
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.0.2-18
f2b7ee5
- Perl 5.30 rebuild
f2b7ee5
f74cf8a
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-17
f74cf8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f74cf8a
7521c75
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-16
7521c75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7521c75
3145f05
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.0.2-15
3145f05
- Perl 5.28 rebuild
3145f05
89c4925
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-14
89c4925
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
89c4925
b7330a2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-13
b7330a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b7330a2
3c31d24
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.0.2-12
3c31d24
- Perl 5.26 rebuild
3c31d24
2240d53
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-11
2240d53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2240d53
86d32c3
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.0.2-10
86d32c3
- Perl 5.24 rebuild
86d32c3
19e057c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-9
19e057c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
19e057c
4e68daf
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-8
4e68daf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4e68daf
43d408c
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.0.2-7
43d408c
- Perl 5.22 rebuild
43d408c
6435f8a
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.0.2-6
6435f8a
- Perl 5.20 rebuild
6435f8a
88ea74a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-5
88ea74a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
88ea74a
dda4272
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-4
dda4272
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
dda4272
cc05e97
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.0.2-3
cc05e97
- Perl 5.18 rebuild
cc05e97
40f2f21
* Thu May 16 2013 Yanko Kaneti <yaneti@declera.com> 0.0.2-2
40f2f21
- Address review comments. (#963211#c1)
40f2f21
40f2f21
* Tue May 14 2013 Yanko Kaneti <yaneti@declera.com> 0.0.2-1
40f2f21
- Specfile autogenerated by cpanspec 1.78 and tweaked for submission