PageRenderTime 11ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 3ms app.codeStats 0ms

/perl-Test-Refcount.spec

#
Unknown | 101 lines | 72 code | 29 blank | 0 comment | 0 complexity | 658fa556ac2ad85be2fde31677cbe676 MD5 | raw file
  1Name:           perl-Test-Refcount
  2Version:        0.07
  3Release:        7%{?dist}
  4Summary:        Assert reference counts on objects
  5
  6Group:          Development/Libraries
  7License:        GPL+ or Artistic
  8URL:            http://search.cpan.org/dist/Test-Refcount/
  9Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Test-Refcount-%{version}.tar.gz
 10
 11BuildArch:      noarch
 12BuildRequires:  perl(ExtUtils::MakeMaker)
 13BuildRequires:  perl(Devel::Refcount)
 14BuildRequires:  perl(Devel::FindRef)
 15BuildRequires:  perl(Test::Builder)
 16BuildRequires:  perl(Test::Builder::Tester)
 17BuildRequires:  perl(Test::More)
 18BuildRequires:  perl(Test::Pod)
 19Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 20
 21%description
 22The Perl garbage collector uses simple reference counting during the normal
 23execution of a program. This means that cycles or unweakened references in
 24other parts of code can keep an object around for longer than intended. To
 25help avoid this problem, the reference count of a new object from its class
 26constructor ought to be 1. This way, the caller can know the object will be
 27properly DESTROYed when it drops all of its references to it.
 28
 29
 30%prep
 31%setup -q -n Test-Refcount-%{version}
 32
 33
 34%build
 35%{__perl} Makefile.PL INSTALLDIRS=vendor
 36make %{?_smp_mflags}
 37
 38
 39%install
 40make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 41find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 42
 43%{_fixperms} $RPM_BUILD_ROOT/*
 44
 45
 46%check
 47make test
 48
 49%files
 50%doc Changes LICENSE README
 51%{perl_vendorlib}/Test
 52%{_mandir}/man3/Test*.3*
 53
 54
 55%changelog
 56* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-7
 57- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 58
 59* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 0.07-6
 60- Perl 5.16 rebuild
 61
 62* Sun Apr 22 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.07-5
 63- Rebuilt for f17
 64
 65* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
 66- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 67
 68* Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.07-2
 69- Perl mass rebuild
 70
 71* Tue Jun 21 2011 Marcela Mašlá?ová <mmaslano@redhat.com> - 0.07-1
 72- update to 0.07
 73
 74* Tue Jun 21 2011 Marcela Mašlá?ová <mmaslano@redhat.com> - 0.06-5
 75- Perl mass rebuild
 76
 77* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-4
 78- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 79
 80* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-3
 81- 661697 rebuild for fixing problems with vendorach/lib
 82
 83* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-2
 84- Mass rebuild with perl-5.12.0
 85
 86* Sun Dec 27 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.06-1
 87- Update to 0.06
 88- Remove workaround at make test for perl with debug - rhbz#514942
 89
 90* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.05-3
 91- rebuild against perl 5.10.1
 92
 93* Fri Jul 31 2009 kwizart < kwizart at gmail.com > - 0.05-2
 94- Add missing BR
 95- Use %%{_fixperms}
 96- Fix %%files section
 97- Add comment about why it fails
 98
 99* Thu Jul  9 2009 kwizart < kwizart at gmail.com > - 0.05-1
100- Initial spec
101