Update to 1.09. Reformat to match cpanspec output. Fix find option order.

Use fixperms macro instead of our own chmod incantation.
epel9
Steven Pritchard 17 years ago
parent fb5b7ccc51
commit 665a92a7e4

@ -1 +1 @@
Devel-Cycle-1.07.tar.gz
Devel-Cycle-1.09.tar.gz

@ -1,14 +1,12 @@
Name: perl-Devel-Cycle
Version: 1.07
Release: 3%{?dist}
Version: 1.09
Release: 1%{?dist}
Summary: Find memory cycles in objects
Group: Development/Libraries
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Devel-Cycle/
Source0: http://www.cpan.org/authors/id/L/LD/LDS/Devel-Cycle-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(PadWalker) >= 1.0
BuildRequires: perl(ExtUtils::MakeMaker)
@ -17,44 +15,46 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
Requires: perl(PadWalker) >= 1.0
%description
This is a simple developer's tool for finding circular references in objects
and other types of references. Because of Perl's reference-count based
memory management, circular references will cause memory leaks.
This is a simple developer's tool for finding circular references in
objects and other types of references. Because of Perl's reference-count
based memory management, circular references will cause memory leaks.
%prep
%setup -q -n Devel-Cycle-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/Devel/
%{_mandir}/man3/*.3pm*
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 1.09-1
- Update to 1.09.
- Reformat to match cpanspec output.
- Fix find option order.
- Use fixperms macro instead of our own chmod incantation.
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-3
- Rebuild for perl 5.10 (again)

@ -1 +1 @@
7d8a1e0ca88f8a66bb1344a217d21f1c Devel-Cycle-1.07.tar.gz
723b997d0884125b2cc47e8eefc8ff08 Devel-Cycle-1.09.tar.gz

Loading…
Cancel
Save