From 36559fbef25f7b108153d01601a785b41bad85f8 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 10 Jan 2024 03:21:58 +0300 Subject: [PATCH] import perl-Test-MockRandom-1.01-20.el9 --- .gitignore | 1 + .perl-Test-MockRandom.metadata | 1 + SPECS/perl-Test-MockRandom.spec | 117 ++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-Test-MockRandom.metadata create mode 100644 SPECS/perl-Test-MockRandom.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..179dea0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Test-MockRandom-1.01.tar.gz diff --git a/.perl-Test-MockRandom.metadata b/.perl-Test-MockRandom.metadata new file mode 100644 index 0000000..3c05f7e --- /dev/null +++ b/.perl-Test-MockRandom.metadata @@ -0,0 +1 @@ +64be35a02a3adfceb8eee4784e62a9a94b96604d SOURCES/Test-MockRandom-1.01.tar.gz diff --git a/SPECS/perl-Test-MockRandom.spec b/SPECS/perl-Test-MockRandom.spec new file mode 100644 index 0000000..e7edd02 --- /dev/null +++ b/SPECS/perl-Test-MockRandom.spec @@ -0,0 +1,117 @@ +Name: perl-Test-MockRandom +Version: 1.01 +Release: 20%{?dist} +Summary: Replaces random number generation with non-random number generation +License: Apache-2.0 +URL: https://metacpan.org/release/Test-MockRandom +Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Test-MockRandom-%{version}.tar.gz +BuildArch: noarch +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(Carp) +# Tests +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(lib) +BuildRequires: perl(List::Util) +BuildRequires: perl(Test::More) +BuildRequires: perl(version) + +%description +This perhaps ridiculous-seeming module was created to test routines that +manipulate random numbers by providing a known output from rand. Given a +list of seeds with srand, it will return each in turn. After seeded +random numbers are exhausted, it will always return 0. Seed numbers must +be of a form that meets the expected output from rand as called with no +arguments -- i.e. they must be between 0 (inclusive) and 1 (exclusive). +In order to facilitate generating and testing a nearly-one number, this +module exports the function oneish, which returns a number just +fractionally less than one. + +%prep +%setup -q -n Test-MockRandom-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc CONTRIBUTING Changes examples README +%license LICENSE +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 1.01-20 +- Rebuilt for MSVSphere 9.3 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.01-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.01-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 30 2022 Jitka Plesnikova - 1.01-18 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 1.01-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.01-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 1.01-15 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.01-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.01-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 1.01-12 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 1.01-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1.01-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 1.01-9 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.01-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.01-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 1.01-6 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1.01-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.01-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 1.01-3 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.01-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Aug 12 2016 Jitka Plesnikova - 1.01-1 +- Initial release