Name: perl-Test-Refcount Version: 0.10 Release: 16%{?dist} Summary: Assert reference counts on objects License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Test-Refcount Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Test-Refcount-%{version}.tar.gz BuildArch: noarch # build requirements BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Module::Build) # run requirements BuildRequires: perl(B) # Test suite fails with Perl 5.18 if Devel::FindRef is installed (CPAN RT#85998) # BuildRequires: perl(Devel::FindRef) BuildRequires: perl(Scalar::Util) BuildRequires: perl(base) BuildRequires: perl(constant) BuildRequires: perl(strict) BuildRequires: perl(warnings) # test requirements BuildRequires: perl(Symbol) BuildRequires: perl(Test::Builder::Module) BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) %description The Perl garbage collector uses simple reference counting during the normal execution of a program. This means that cycles or unweakened references in other parts of code can keep an object around for longer than intended. To help avoid this problem, the reference count of a new object from its class constructor ought to be 1. This way, the caller can know the object will be properly DESTROYed when it drops all of its references to it. %prep %setup -q -n Test-Refcount-%{version} %build /usr/bin/perl Build.PL --installdirs=vendor ./Build %install ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files %doc Changes README %license LICENSE %{perl_vendorlib}/Test %{_mandir}/man3/Test*.3* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.10-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.10-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.10-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.10-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.10-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.10-11 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.10-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.10-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.10-8 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.10-5 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Oct 30 2019 Emmanuel Seyman - 0.10-3 - Update dependencies - Use /usr/bin/perl instead of %%{__perl} * Fri Jul 26 2019 Fedora Release Engineering - 0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 30 2019 Emmanuel Seyman - 0.10-1 - Update to 0.10 - Switch to a Module::Build based build system - use %%license * Fri May 31 2019 Jitka Plesnikova - 0.08-15 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.08-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.08-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.08-12 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.08-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.08-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.08-9 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.08-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.08-7 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.08-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.08-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.08-4 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 0.08-3 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.08-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Mar 30 2014 Emmanuel Seyman - 0.08-1 - Update to 0.08 * Sat Aug 10 2013 Paul Howarth - 0.07-11 - Drop BR: perl(Devel::FindRef), which precipitates test failures (CPAN RT#85998) * Sun Aug 04 2013 Fedora Release Engineering - 0.07-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 24 2013 Petr Pisar - 0.07-9 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.07-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.07-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 14 2012 Petr Pisar - 0.07-6 - Perl 5.16 rebuild * Sun Apr 22 2012 Nicolas Chauvet - 0.07-5 - Rebuilt for f17 * Fri Jan 13 2012 Fedora Release Engineering - 0.07-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jul 18 2011 Petr Sabata - 0.07-2 - Perl mass rebuild * Tue Jun 21 2011 Marcela Mašláňová - 0.07-1 - update to 0.07 * Tue Jun 21 2011 Marcela Mašláňová - 0.06-5 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.06-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova - 0.06-3 - 661697 rebuild for fixing problems with vendorach/lib * Fri May 07 2010 Marcela Maslanova - 0.06-2 - Mass rebuild with perl-5.12.0 * Sun Dec 27 2009 Nicolas Chauvet - 0.06-1 - Update to 0.06 - Remove workaround at make test for perl with debug - rhbz#514942 * Fri Dec 4 2009 Stepan Kasal - 0.05-3 - rebuild against perl 5.10.1 * Fri Jul 31 2009 kwizart < kwizart at gmail.com > - 0.05-2 - Add missing BR - Use %%{_fixperms} - Fix %%files section - Add comment about why it fails * Thu Jul 9 2009 kwizart < kwizart at gmail.com > - 0.05-1 - Initial spec