2009-11-28 21:42:24 +00:00
#
2011-07-05 10:56:10 +00:00
# spec file for package perl-Test-Memory-Cycle
2010-11-24 21:54:36 +00:00
#
2025-06-23 21:51:23 +00:00
# Copyright (c) 2025 SUSE LLC
2010-11-24 21:54:36 +00:00
#
# 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.
2025-06-23 21:51:23 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2009-11-28 21:42:24 +00:00
#
2011-07-05 10:56:10 +00:00
2025-06-23 21:51:23 +00:00
%define cpan_name Test-Memory-Cycle
2010-11-24 21:54:36 +00:00
Name : perl-Test-Memory-Cycle
2025-06-23 21:51:23 +00:00
Version : 1.60.0
2016-02-08 07:04:09 +00:00
Release : 0
2025-06-23 21:51:23 +00:00
# 1.06 -> normalize -> 1.60.0
%define cpan_version 1.06
#Upstream: This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License v2.0. See http://www.perlfoundation.org/artistic_license_2_0 or the LICENSE file that comes with the Test::Memory::Cycle distribution.
2016-02-20 20:46:34 +00:00
License : Artistic-2.0
2025-06-23 21:51:23 +00:00
Summary : Verifies code hasn't left circular references
URL : https://metacpan.org/release/%{cpan_name}
Source0 : https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name} -%{cpan_version} .tar.gz
2016-02-08 07:04:09 +00:00
Source1 : cpanspec.yml
2025-08-12 18:17:47 +02:00
Source100 : README.md
2010-11-24 21:54:36 +00:00
BuildArch : noarch
BuildRequires : perl
BuildRequires : perl-macros
2025-06-23 21:51:23 +00:00
BuildRequires : perl(Devel::Cycle) >= 1.70
2010-11-24 21:54:36 +00:00
BuildRequires : perl(PadWalker)
2025-06-23 21:51:23 +00:00
Requires : perl(Devel::Cycle) >= 1.70
2010-11-24 21:54:36 +00:00
Requires : perl(PadWalker)
2025-06-23 21:51:23 +00:00
Provides : perl(Test::Memory::Cycle) = %{version}
%undefine __perllib_provides
2011-04-09 07:09:04 +00:00
%{perl_requires}
2009-11-28 21:42:24 +00:00
%description
2025-06-23 21:51:23 +00:00
Verifies code hasn't left circular references
2009-11-28 21:42:24 +00:00
%prep
2025-06-23 21:51:23 +00:00
%autosetup -n %{cpan_name} -%{cpan_version} -p1
2009-11-28 21:42:24 +00:00
%build
2025-06-23 21:51:23 +00:00
perl Makefile.PL INSTALLDIRS=vendor
%make_build
2009-11-28 21:42:24 +00:00
%check
2025-06-23 21:51:23 +00:00
make test
2009-11-28 21:42:24 +00:00
%install
%perl_make_install
%perl_process_packlist
2010-11-24 21:54:36 +00:00
%perl_gen_filelist
2009-11-28 21:42:24 +00:00
2010-11-24 21:54:36 +00:00
%files -f %{name}.files
2025-06-23 21:51:23 +00:00
%doc Changes README.md
%license LICENSE
2009-11-28 21:42:24 +00:00
%changelog