|
|
@ -1,28 +1,33 @@
|
|
|
|
Name: perl-Test-Memory-Cycle
|
|
|
|
Name: perl-Test-Memory-Cycle
|
|
|
|
Version: 1.04
|
|
|
|
Version: 1.06
|
|
|
|
Release: 23%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Check for memory leaks and circular memory references
|
|
|
|
Summary: Check for memory leaks and circular memory references
|
|
|
|
|
|
|
|
License: Artistic 2.0
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
|
|
|
URL: http://search.cpan.org/dist/Test-Memory-Cycle/
|
|
|
|
URL: http://search.cpan.org/dist/Test-Memory-Cycle/
|
|
|
|
Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-%{version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(CGI)
|
|
|
|
# Build
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
# Runtime
|
|
|
|
BuildRequires: perl(Devel::Cycle) >= 1.07
|
|
|
|
BuildRequires: perl(Devel::Cycle) >= 1.07
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
|
|
|
|
# Tests only
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(PadWalker)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::Builder::Tester)
|
|
|
|
BuildRequires: perl(Test::Builder::Tester)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Simple) >= 0.62
|
|
|
|
# Optional tests only
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
|
|
|
Requires: perl(Devel::Cycle) >= 1.07
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Devel::Cycle\\)$
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Perl's garbage collection has one big problem: Circular references
|
|
|
|
Perl's garbage collection has one big problem: Circular references
|
|
|
@ -31,40 +36,32 @@ objects that refer to each other.
|
|
|
|
"Test::Memory::Cycle" is built on top of "Devel::Cycle" to give you an
|
|
|
|
"Test::Memory::Cycle" is built on top of "Devel::Cycle" to give you an
|
|
|
|
easy way to check for these circular references.
|
|
|
|
easy way to check for these circular references.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Test-Memory-Cycle-%{version}
|
|
|
|
%setup -q -n Test-Memory-Cycle-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%license LICENSE
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes README.md
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jan 28 2016 Petr Šabata <contyk@redhat.com> - 1.06-1
|
|
|
|
|
|
|
|
- 1.06 bump
|
|
|
|
|
|
|
|
- Package cleanup
|
|
|
|
|
|
|
|
- License changed from `GPL+ or Artistic' to `Artistic 2.0'
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-23
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-23
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|