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 Name: perl-Devel-Cycle
Version: 1.07 Version: 1.09
Release: 3%{?dist} Release: 1%{?dist}
Summary: Find memory cycles in objects Summary: Find memory cycles in objects
Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Devel-Cycle/ URL: http://search.cpan.org/dist/Devel-Cycle/
Source0: http://www.cpan.org/authors/id/L/LD/LDS/Devel-Cycle-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/L/LD/LDS/Devel-Cycle-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(PadWalker) >= 1.0 BuildRequires: perl(PadWalker) >= 1.0
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
@ -17,44 +15,46 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
Requires: perl(PadWalker) >= 1.0 Requires: perl(PadWalker) >= 1.0
%description %description
This is a simple developer's tool for finding circular references in objects This is a simple developer's tool for finding circular references in
and other types of references. Because of Perl's reference-count based objects and other types of references. Because of Perl's reference-count
memory management, circular references will cause memory leaks. based memory management, circular references will cause memory leaks.
%prep %prep
%setup -q -n Devel-Cycle-%{version} %setup -q -n Devel-Cycle-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$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 %check
make test make test
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes README %doc Changes README
%{perl_vendorlib}/Devel/ %{perl_vendorlib}/*
%{_mandir}/man3/*.3pm* %{_mandir}/man3/*
%changelog %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 * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-3
- Rebuild for perl 5.10 (again) - 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