Package perl-Test-Refcount: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | Group: Development/Other # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl(B.pm) perl(Scalar/Util.pm) perl(Symbol.pm) perl(base.pm) perl-podlators # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: perl-Test-Refcount Version: 0.10 Release: alt1_1 Summary: Assert reference counts on objects License: GPL+ or Artistic URL: https://metacpan.org/release/Test-Refcount Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Test-Refcount-%{version}.tar.gz BuildArch: noarch BuildRequires: rpm-build-perl BuildRequires: perl(Devel/Refcount.pm) # Test suite fails with Perl 5.18 if Devel::FindRef is installed (CPAN RT#85998) #BuildRequires: perl(Devel::FindRef) BuildRequires: perl(Module/Build.pm) BuildRequires: perl(Test/Builder.pm) BuildRequires: perl(Test/Builder/Tester.pm) BuildRequires: perl(Test/More.pm) BuildRequires: perl(Test/Pod.pm) Source44: import.info %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 %doc --no-dereference LICENSE %{perl_vendor_privlib}/Test %changelog * Sun Jul 07 2019 Igor Vlasenko <viy@altlinux.ru> 0.10-alt1_1 - new version * Sat Jul 14 2018 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1_12 - update to new release by fcimport * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1_10 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1_9 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1_8 - update to new release by fcimport * Tue Jul 26 2016 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1_7 - update to new release by fcimport * Mon Mar 07 2016 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1_6 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1_5 - update to new release by fcimport * Mon Oct 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1_3 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1_2 - update to new release by fcimport * Thu Apr 10 2014 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1_1 - update to new release by fcimport * Sat Mar 29 2014 Igor Vlasenko <viy@altlinux.ru> 0.08-alt1 - automated CPAN update * Thu Oct 17 2013 Igor Vlasenko <viy@altlinux.ru> 0.07-alt2_11 - Sisyphus build * Mon Sep 02 2013 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1_11 - update to new release by fcimport * Mon Mar 04 2013 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1_8 - update to new release by fcimport * Tue Jul 31 2012 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1_7 - update to new release by fcimport * Thu May 24 2012 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1_5 - fc import |