From 98e5686044515cfa6a37267ee6dc953435fa3845 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 10 Jan 2024 03:20:49 +0300 Subject: [PATCH] import perl-Test-Mock-Time-0.1.7-17.el9 --- .gitignore | 1 + .perl-Test-Mock-Time.metadata | 1 + SPECS/perl-Test-Mock-Time.spec | 122 +++++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-Test-Mock-Time.metadata create mode 100644 SPECS/perl-Test-Mock-Time.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4d7285a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Test-Mock-Time-v0.1.7.tar.gz diff --git a/.perl-Test-Mock-Time.metadata b/.perl-Test-Mock-Time.metadata new file mode 100644 index 0000000..1145ff1 --- /dev/null +++ b/.perl-Test-Mock-Time.metadata @@ -0,0 +1 @@ +93ab1611f8221a45e542a7d53b547ad8893f07c4 SOURCES/Test-Mock-Time-v0.1.7.tar.gz diff --git a/SPECS/perl-Test-Mock-Time.spec b/SPECS/perl-Test-Mock-Time.spec new file mode 100644 index 0000000..3296e5a --- /dev/null +++ b/SPECS/perl-Test-Mock-Time.spec @@ -0,0 +1,122 @@ +Name: perl-Test-Mock-Time +Version: 0.1.7 +Release: 17%{?dist} +Summary: Deterministic time & timers for event loop tests +License: MIT + +URL: https://metacpan.org/release/Test-Mock-Time +Source0: https://cpan.metacpan.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) + +%{?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 +* Wed Jan 10 2024 MSVSphere Packaging Team - 0.1.7-17 +- Rebuilt for MSVSphere 9.3 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.1.7-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.1.7-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 01 2022 Jitka Plesnikova - 0.1.7-15 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.7-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.7-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun May 23 2021 Jitka Plesnikova - 0.1.7-12 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.7-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.1.7-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 0.1.7-9 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.7-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 0.1.7-6 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.1.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 29 2018 Jitka Plesnikova - 0.1.7-3 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sun Jan 14 2018 Emmanuel Seyman - 0.1.7-1 +- Update to 0.1.7 + +* Tue Nov 28 2017 Emmanuel Seyman - 0.1.6-2 +- Take into account review feedback (#1517102) + +* Fri Nov 24 2017 Emmanuel Seyman - 0.1.6-1 +- Specfile autogenerated by cpanspec 1.78.