Dirk Mueller
7e28a42b5a
Copy from home:rjschwei:perl-perlcritic/perl-Devel-Cycle via accept of submit request 25094 revision 1. Request was accepted with message: thanks! OBS-URL: https://build.opensuse.org/request/show/25094 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-Cycle?expand=0&rev=1
65 lines
1.5 KiB
RPMSpec
65 lines
1.5 KiB
RPMSpec
# Copyright (c) 2009 Novell
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: perl-Devel-Cycle
|
|
Version: 1.11
|
|
Release: 1
|
|
%define cpan_name Devel-Cycle
|
|
Provides: %cpan_name
|
|
Requires: perl = %{perl_version}
|
|
Autoreqprov: on
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License, GPL, see package
|
|
URL: http://search.cpan.org/~lds/Devel-Cycle-1.11/lib/Devel/Cycle.pm
|
|
Summary: Find memory cycles in objects
|
|
Source0: %{cpan_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
%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.
|
|
|
|
Authors:
|
|
Lincoln Stein, <lstein@cshl.edu>
|
|
|
|
%prep
|
|
%setup -q -n %cpan_name-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%__rm -f %{buildroot}%{perl_vendorarch}/auto/Devel/Cycle/.packlist
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes README
|
|
%doc %{_mandir}/man3/*
|
|
%dir %{perl_vendorlib}/Devel
|
|
%{perl_vendorlib}/Devel/Cycle.pm
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
%changelog
|
|
* Tue Nov 24 2009 Robert Schweikert <rschweikert@novell.com> - Devel-Cycle
|
|
- Initial build.
|
|
|