Sync from SUSE:SLFO:Main perl-Test-Memory-Cycle revision 52860ee379f098d73cc19897c813d2ce

This commit is contained in:
Adrian Schröter 2024-05-03 18:52:21 +02:00
commit 118eb6e307
5 changed files with 172 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

BIN
Test-Memory-Cycle-1.06.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
license: Artistic-2.0
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -0,0 +1,57 @@
-------------------------------------------------------------------
Wed Apr 13 13:35:02 UTC 2016 - coolo@suse.com
- add the license also to cpanspec.yml
-------------------------------------------------------------------
Mon Feb 15 15:25:09 UTC 2016 - eshmarnev@suse.com
- Change licence to spdx format (Artistic-2.0)
-------------------------------------------------------------------
Sun Feb 7 10:45:11 UTC 2016 - coolo@suse.com
- updated to 1.06
see /usr/share/doc/packages/perl-Test-Memory-Cycle/Changes
1.06 Wed Jan 27 22:36:55 CST 2016
This release has no changes in functionality.
[FIXES]
* One of the tests used to use CGI.pm, but it was not a declared
dependency, so Perl 5.22+ would fail because CGI.pm is no longer
shipped as core. The test now uses a local module for testing.
Thanks, Graham Ollis.
-------------------------------------------------------------------
Thu Aug 27 14:21:06 UTC 2015 - hsk@imb-jena.de
- add "BuildRequires: CGI" to .spec file so "make test" succeeds
with perl-5.22
-------------------------------------------------------------------
Tue Jul 5 10:52:08 UTC 2011 - coolo@novell.com
- fix %attrs for older distros
-------------------------------------------------------------------
Sat Apr 9 06:58:48 UTC 2011 - coolo@novell.com
- recreated by cpanspec 1.78.04
-------------------------------------------------------------------
Wed Dec 1 06:55:43 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 22 13:47:35 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
o fix deps
-------------------------------------------------------------------
Tue Nov 24 21:31:06 CET 2009 - rschweikert@novell.com
- Initial build, version 1.04

View File

@ -0,0 +1,61 @@
#
# spec file for package perl-Test-Memory-Cycle
#
# Copyright (c) 2016 SUSE LINUX 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-Test-Memory-Cycle
Version: 1.06
Release: 0
%define cpan_name Test-Memory-Cycle
Summary: Check for memory leaks and circular memory references
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Memory-Cycle/
Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Devel::Cycle) >= 1.07
BuildRequires: perl(PadWalker)
Requires: perl(Devel::Cycle) >= 1.07
Requires: perl(PadWalker)
%{perl_requires}
%description
Check for memory leaks and circular memory references
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README.md
%changelog