1 | Name: perl-Devel-Cycle |
---|
2 | Version: 1.10 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Find memory cycles in objects |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Devel-Cycle/ |
---|
8 | Source0: http://www.cpan.org/authors/id/L/LD/LDS/Devel-Cycle-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | BuildArch: noarch |
---|
11 | BuildRequires: perl(PadWalker) >= 1.0 |
---|
12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
13 | BuildRequires: perl(Test::More) |
---|
14 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
15 | Requires: perl(PadWalker) >= 1.0 |
---|
16 | |
---|
17 | %description |
---|
18 | This is a simple developer's tool for finding circular references in |
---|
19 | objects and other types of references. Because of Perl's reference-count |
---|
20 | based memory management, circular references will cause memory leaks. |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q -n Devel-Cycle-%{version} |
---|
24 | |
---|
25 | %build |
---|
26 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
27 | %{__make} %{?_smp_mflags} |
---|
28 | |
---|
29 | %install |
---|
30 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
31 | |
---|
32 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
33 | |
---|
34 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
35 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
36 | |
---|
37 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
38 | |
---|
39 | %check |
---|
40 | %{__make} test |
---|
41 | |
---|
42 | %clean |
---|
43 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
44 | |
---|
45 | %files |
---|
46 | %defattr(-,root,root,-) |
---|
47 | %doc Changes README |
---|
48 | %{perl_vendorlib}/* |
---|
49 | %{_mandir}/man3/* |
---|
50 | |
---|
51 | %changelog |
---|
52 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.10-1 |
---|
53 | - initial build for Vine Linux based on fedora development |
---|
54 | |
---|
55 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3 |
---|
56 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
57 | |
---|
58 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2 |
---|
59 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
60 | |
---|
61 | * Tue Jul 15 2008 Steven Pritchard <steve@kspei.com> 1.10-1 |
---|
62 | - Update to 1.10. |
---|
63 | |
---|
64 | * Thu May 15 2008 Steven Pritchard <steve@kspei.com> 1.09-1 |
---|
65 | - Update to 1.09. |
---|
66 | - Reformat to match cpanspec output. |
---|
67 | - Fix find option order. |
---|
68 | - Use fixperms macro instead of our own chmod incantation. |
---|
69 | |
---|
70 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-3 |
---|
71 | - Rebuild for perl 5.10 (again) |
---|
72 | |
---|
73 | * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-2 |
---|
74 | - rebuild for new perl |
---|
75 | |
---|
76 | * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-1.2 |
---|
77 | - add BR: perl(Test::More) |
---|
78 | |
---|
79 | * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-1.1 |
---|
80 | - correct license tag |
---|
81 | - add BR: perl(ExtUtils::MakeMaker) |
---|
82 | |
---|
83 | * Wed May 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-1 |
---|
84 | - Update to 1.07. |
---|
85 | - Requirement version: perl(PadWalker) >= 1.0. |
---|
86 | |
---|
87 | * Mon May 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-1 |
---|
88 | - Update to 1.05. |
---|
89 | - New requirement: perl(PadWalker). |
---|
90 | |
---|
91 | * Thu Feb 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-4 |
---|
92 | - Rebuild for FC5 (perl 5.8.8). |
---|
93 | |
---|
94 | * Sat May 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-3 |
---|
95 | - Add dist tag. |
---|
96 | |
---|
97 | * Mon May 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-2 |
---|
98 | - Update to 1.04. |
---|
99 | |
---|
100 | * Fri Apr 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-2 |
---|
101 | - Fedora Extras: FC-4 version. |
---|
102 | |
---|
103 | * Mon Jan 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.03-0.fdr.1 |
---|
104 | - Update to 1.03. |
---|
105 | |
---|
106 | * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.02-0.fdr.1 |
---|
107 | - First build. |
---|