From bb9c257c35f2719bf85fcce1ba44620311a9c005 Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 19 Sep 2023 18:49:43 +0300 Subject: [PATCH] import perl-Test-MemoryGrowth-0.04-10.el9 --- .gitignore | 1 + .perl-Test-MemoryGrowth.metadata | 1 + SPECS/perl-Test-MemoryGrowth.spec | 131 ++++++++++++++++++++++++++++++ 3 files changed, 133 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-Test-MemoryGrowth.metadata create mode 100644 SPECS/perl-Test-MemoryGrowth.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..53c5081 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Test-MemoryGrowth-0.04.tar.gz diff --git a/.perl-Test-MemoryGrowth.metadata b/.perl-Test-MemoryGrowth.metadata new file mode 100644 index 0000000..acfe261 --- /dev/null +++ b/.perl-Test-MemoryGrowth.metadata @@ -0,0 +1 @@ +b9da91a9eeb2aa93f65ef48951744fc9b95000b8 SOURCES/Test-MemoryGrowth-0.04.tar.gz diff --git a/SPECS/perl-Test-MemoryGrowth.spec b/SPECS/perl-Test-MemoryGrowth.spec new file mode 100644 index 0000000..ed1920e --- /dev/null +++ b/SPECS/perl-Test-MemoryGrowth.spec @@ -0,0 +1,131 @@ +Name: perl-Test-MemoryGrowth +Version: 0.04 +Release: 10%{?dist} +Summary: Assert that code does not cause growth in memory usage +License: GPL-1.0-or-later OR Artistic-1.0-Perl +URL: https://metacpan.org/release/Test-MemoryGrowth +Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Test-MemoryGrowth-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(base) +BuildRequires: perl(constant) +# Devel::MAT::Dumper is optional +# XXX: BuildRequires: perl(Devel::MAT::Dumper) +BuildRequires: perl(Test::Builder::Module) +# Tests only +BuildRequires: perl(Test::Builder::Tester) +BuildRequires: perl(Test::More) +Recommends: perl(Devel::Gladiator) + +%description +This module provides a function to check that a given block of code does +not result in the process consuming extra memory once it has finished. +Despite the name of this module it does not, in the strictest sense of the +word, test for a memory leak: that term is specifically applied to cases +where memory has been allocated but all record of it has been lost, so it +cannot possibly be reclaimed. While the method employed by this module can +detect such bugs, it can also detect cases where memory is still referenced +and reachable, but the usage has grown more than would be expected or +necessary. + +%prep +%setup -q -n Test-MemoryGrowth-%{version} + +%build +perl Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Sep 19 2023 Arkady L. Shane - 0.04-10 +- Rebuilt for MSVSphere 9.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.04-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.04-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue May 31 2022 Jitka Plesnikova - 0.04-8 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.04-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.04-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 0.04-5 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.04-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.04-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 0.04-2 +- Perl 5.32 rebuild + +* Thu Jun 18 2020 Jitka Plesnikova - 0.04-1 +- 0.04 bump + +* Thu Jan 30 2020 Fedora Release Engineering - 0.03-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.03-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 0.03-3 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.03-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jan 16 2019 Jitka Plesnikova - 0.03-1 +- 0.03 bump + +* Fri Jul 13 2018 Fedora Release Engineering - 0.02-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 0.02-8 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.02-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.02-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.02-5 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.02-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.02-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.02-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Aug 11 2015 Petr Ĺ abata 0.02-1 +- Initial packaging