|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Devel-Cycle
|
|
|
|
|
Version: 1.12
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
Summary: Find memory cycles in objects
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Devel-Cycle
|
|
|
|
@ -8,8 +8,11 @@ Source0: https://cpan.metacpan.org/authors/id/L/LD/LDS/Devel-Cycle-%{vers
|
|
|
|
|
Patch0: Devel-Cycle-1.11-512.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Module Build
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
# Module Runtime
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
@ -22,7 +25,7 @@ BuildRequires: perl(warnings)
|
|
|
|
|
# Test Suite
|
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# Runtime
|
|
|
|
|
# Dependencies
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(PadWalker) >= 1.0
|
|
|
|
|
|
|
|
|
@ -43,8 +46,8 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@ -55,6 +58,10 @@ make test
|
|
|
|
|
%{_mandir}/man3/Devel::Cycle.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Nov 19 2018 Paul Howarth <paul@city-fan.org> - 1.12-12
|
|
|
|
|
- Specify all build dependencies
|
|
|
|
|
- Simplify find command using -delete
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|