You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.7 KiB
69 lines
1.7 KiB
Name: perl-Devel-Cycle
|
|
Version: 1.04
|
|
Release: 3%{?dist}
|
|
Summary: Find memory cycles in objects
|
|
|
|
Group: Development/Libraries
|
|
License: GPL or Artistic
|
|
URL: http://search.cpan.org/dist/Devel-Cycle/
|
|
Source0: http://www.cpan.org/authors/id/L/LD/LDS/Devel-Cycle-1.04.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: perl >= 1:5.6.1
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%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.
|
|
|
|
|
|
%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/*
|
|
|
|
|
|
%check || :
|
|
make test
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes README
|
|
%{perl_vendorlib}/Devel/
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
%changelog
|
|
* Sat May 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-3
|
|
- Add dist tag.
|
|
|
|
* Mon May 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-2
|
|
- Update to 1.04.
|
|
|
|
* Fri Apr 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-2
|
|
- Fedora Extras: FC-4 version.
|
|
|
|
* Mon Jan 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.03-0.fdr.1
|
|
- Update to 1.03.
|
|
|
|
* Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.02-0.fdr.1
|
|
- First build.
|