source: projects/specs/trunk/p/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle-vl.spec @ 12120

Revision 12120, 3.7 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Name:           perl-Test-Memory-Cycle
2Version:        1.06
3Release:        1%{?_dist_release}
4Summary:        Check for memory leaks and circular memory references
5
6Group:          Development/Libraries
7License:        GPL+ or Artistic
8URL:            http://search.cpan.org/dist/Test-Memory-Cycle/
9Source0:        http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12BuildArch:      noarch
13BuildRequires:  perl(Devel::Cycle)
14BuildRequires:  perl(PadWalker)
15BuildRequires:  perl(Test::Builder::Tester)
16BuildRequires:  perl(Test::Simple)
17BuildRequires:  perl(Test::Pod)
18BuildRequires:  perl(Test::Pod::Coverage)
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25Perl's garbage collection has one big problem: Circular references
26can't get cleaned up.  A circular reference can be as simple as two
27objects that refer to each other.
28"Test::Memory::Cycle" is built on top of "Devel::Cycle" to give you an
29easy way to check for these circular references.
30
31
32%prep
33%setup -q -n Test-Memory-Cycle-%{version}
34
35
36%build
37%{__perl} Makefile.PL INSTALLDIRS=vendor
38%{__make} %{?_smp_mflags}
39
40
41%install
42%{__rm} -rf $RPM_BUILD_ROOT
43%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
44find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
45find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
46%{__chmod} -R u+w $RPM_BUILD_ROOT/*
47
48
49%check
50%{__make} test
51
52
53%clean
54%{__rm} -rf $RPM_BUILD_ROOT
55
56
57%files
58%defattr(-,root,root,-)
59%doc Changes README
60%{perl_vendorlib}/Test/
61%{_mandir}/man3/*.3pm*
62
63
64%changelog
65* Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.06-1
66- new upstream release.
67- rebuilt with perl-5.26.
68
69* Fri Nov 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.04-3
70- rebuilt with perl 5.16.3
71
72* Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.04-2
73- build with perl 5.12.3
74- add Vendor and Distribution tags
75
76* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.04-1
77- initial build for Vine Linux based on fedora development
78
79* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-7
80- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
81
82* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-6
83- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
84
85* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-5
86- Rebuild normally, second pass
87
88* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-4
89- Rebuild for perl 5.10 (again), first pass
90
91* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-3
92- rebuild normally, second pass
93
94* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-2
95- rebuild for new perl, disable T-P-C and tests for first pass
96
97* Wed Aug  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-1
98- Update to 1.04.
99
100* Mon Feb 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-2
101- Rebuild for FC5 (perl 5.8.8).
102
103* Tue May 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-1
104- Update to 1.02.
105
106* Sat May 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-4
107- Add dist tag.
108
109* Fri Apr 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-3
110- Fedora Extras: FC-4 version.
111
112* Fri Apr 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-2
113- Fedora Extras: FC-3 version.
114
115* Wed Apr 20 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.00-0.fdr.2
116- RedHat 9.0 (8.0 and 7.3): CGI.pm is shipped as perl-CGI (#1824).
117
118* Mon Jan 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.00-0.fdr.1
119- Update to 1.00.
120
121* Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.02-0.fdr.1
122- First build.
Note: See TracBrowser for help on using the repository browser.