OBS User unknown 2009-08-10 14:58:03 +00:00 committed by Git OBS Bridge
commit b176d30f4f
6 changed files with 105 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
Devel-Leak-0.03.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:184da1634b5af68fc585b99c95d731b5c0616f021e99ad67d7a4200a026e5d9f
size 3298

5
perl-Devel-Leak.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Thu Aug 6 17:03:52 CEST 2009 - coolo@novell.com
- initial package

73
perl-Devel-Leak.spec Normal file
View File

@ -0,0 +1,73 @@
#
# spec file for package perl-Devel-Leak (Version 0.03)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: perl-Devel-Leak
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Utility for looking for perl objects that are not reclaimed
Version: 0.03
Release: 1
License: GPL/Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/~ni-s/Devel-Leak-0.03
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl = %{perl_version}
%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}
%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

0
ready Normal file
View File