Sync from SUSE:SLFO:Main perl-Devel-Leak revision 537bbdbda32917b04c342c00e295dd2a
This commit is contained in:
commit
c5b736b146
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
Devel-Leak-0.03.tar.gz
(Stored with Git LFS)
Normal file
BIN
Devel-Leak-0.03.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
25
perl-Devel-Leak.changes
Normal file
25
perl-Devel-Leak.changes
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 14 11:11:47 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- fix license to be in spdx.org format
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 18 11:09:34 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- use original .tar.gz
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 1 13:32:00 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- switch to perl_requires macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- enable parallel build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 6 17:03:52 CEST 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
- initial package
|
||||||
|
|
71
perl-Devel-Leak.spec
Normal file
71
perl-Devel-Leak.spec
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Devel-Leak
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: perl-Devel-Leak
|
||||||
|
%define cpan_name Devel-Leak
|
||||||
|
Summary: Utility for looking for perl objects that are not reclaimed
|
||||||
|
License: GPL-1.0 or Artistic-1.0
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Version: 0.03
|
||||||
|
Release: 0
|
||||||
|
Url: http://search.cpan.org/~ni-s/Devel-Leak-0.03
|
||||||
|
Source: %{cpan_name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{perl_requires}
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
%{cpan_name} module for perl
|
||||||
|
Devel::Leak has two functions NoteSV and CheckSV.
|
||||||
|
NoteSV walks the perl internal table of allocated SVs (scalar values)
|
||||||
|
- (which actually contains arrays and hashes too),
|
||||||
|
and records their addresses in a table. It returns a count of these "things",
|
||||||
|
and stores a pointer to the table (which is obtained from the heap
|
||||||
|
using malloc()) in its argument.
|
||||||
|
CheckSV is passed argument which holds a pointer to a table created by NoteSV.
|
||||||
|
It re-walks the perl-internals and calls sv_dump() for any "things"
|
||||||
|
which did not exist when NoteSV was called.
|
||||||
|
It returns a count of the number of "things" now allocated.
|
||||||
|
Author: Nick Ing-Simmons <nick@ni-s.u-net.com>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
# normally you only need to check for doc files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user