|
|
266305 |
# Run optional test
|
|
|
266305 |
%if ! (0%{?rhel})
|
|
|
266305 |
%bcond_without perl_Devel_Size_enables_optional_test
|
|
|
266305 |
%else
|
|
|
266305 |
%bcond_with perl_Devel_Size_enables_optional_test
|
|
|
266305 |
%endif
|
|
|
266305 |
|
|
|
266305 |
Name: perl-Devel-Size
|
|
|
266305 |
Version: 0.83
|
|
|
266305 |
Release: 3%{?dist}
|
|
|
266305 |
Summary: Perl extension for finding the memory usage of Perl variables
|
|
|
266305 |
License: GPL+ or Artistic
|
|
|
266305 |
URL: https://metacpan.org/release/Devel-Size
|
|
|
266305 |
Source0: https://cpan.metacpan.org/modules/by-module/Devel/Devel-Size-%{version}.tar.gz
|
|
|
266305 |
BuildRequires: findutils
|
|
|
266305 |
BuildRequires: gcc
|
|
|
266305 |
BuildRequires: make
|
|
|
266305 |
BuildRequires: perl-devel
|
|
|
266305 |
BuildRequires: perl-generators
|
|
|
266305 |
BuildRequires: perl-interpreter
|
|
|
266305 |
BuildRequires: perl(:VERSION) >= 5.5
|
|
|
266305 |
BuildRequires: perl(Config)
|
|
|
266305 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
266305 |
BuildRequires: perl(strict)
|
|
|
266305 |
# Run-time:
|
|
|
266305 |
BuildRequires: perl(Exporter)
|
|
|
266305 |
BuildRequires: perl(vars)
|
|
|
266305 |
BuildRequires: perl(XSLoader)
|
|
|
266305 |
# Tests:
|
|
|
266305 |
BuildRequires: perl(constant)
|
|
|
266305 |
BuildRequires: perl(feature)
|
|
|
266305 |
BuildRequires: perl(lib)
|
|
|
266305 |
BuildRequires: perl(Scalar::Util)
|
|
|
266305 |
BuildRequires: perl(Test::More)
|
|
|
266305 |
BuildRequires: perl(Tie::Scalar)
|
|
|
266305 |
%if %{with perl_Devel_Size_enables_optional_test}
|
|
|
266305 |
# Optional tests:
|
|
|
266305 |
BuildRequires: perl(Test::Pod)
|
|
|
266305 |
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
|
|
266305 |
# Required by t/warnings.t, but not on CPAN
|
|
|
266305 |
#BuildRequires: perl(Test::PerlRun)
|
|
|
266305 |
%endif
|
|
|
266305 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
266305 |
|
|
|
266305 |
%?perl_default_filter
|
|
|
266305 |
|
|
|
266305 |
%description
|
|
|
266305 |
This module figures out the real sizes of Perl variables in bytes. Call
|
|
|
266305 |
functions with a reference to the variable you want the size of. If the
|
|
|
266305 |
variable is a plain scalar it returns the size of the scalar. If the
|
|
|
266305 |
variable is a hash or an array, use a reference when calling.
|
|
|
266305 |
|
|
|
266305 |
%prep
|
|
|
266305 |
%setup -q -n Devel-Size-%{version}
|
|
|
266305 |
|
|
|
266305 |
%build
|
|
|
266305 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}"
|
|
|
266305 |
make %{?_smp_mflags}
|
|
|
266305 |
|
|
|
266305 |
%install
|
|
|
266305 |
make pure_install DESTDIR=%{buildroot}
|
|
|
266305 |
find %{buildroot} -type f -name '*.bs' -size 0 -delete
|
|
|
266305 |
%{_fixperms} %{buildroot}/*
|
|
|
266305 |
|
|
|
266305 |
%check
|
|
|
266305 |
make test
|
|
|
266305 |
|
|
|
266305 |
%files
|
|
|
266305 |
%doc CHANGES
|
|
|
266305 |
%{perl_vendorarch}/auto/*
|
|
|
266305 |
%{perl_vendorarch}/Devel*
|
|
|
266305 |
%{_mandir}/man3/*
|
|
|
266305 |
|
|
|
266305 |
%changelog
|
|
|
266305 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.83-3
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.83-2
|
|
|
266305 |
- Perl 5.30 rebuild
|
|
|
266305 |
|
|
|
266305 |
* Wed May 22 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.83-1
|
|
|
266305 |
- 0.83 bump
|
|
|
266305 |
|
|
|
266305 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.82-4
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.82-3
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.82-2
|
|
|
266305 |
- Perl 5.28 rebuild
|
|
|
266305 |
|
|
|
266305 |
* Sat Jun 23 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.82-1
|
|
|
266305 |
- 0.82 bump
|
|
|
266305 |
|
|
|
266305 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.81-2
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Thu Aug 10 2017 Petr Pisar <ppisar@redhat.com> - 0.81-1
|
|
|
266305 |
- 0.81 bump
|
|
|
266305 |
|
|
|
266305 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-9
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-8
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.80-7
|
|
|
266305 |
- Perl 5.26 rebuild
|
|
|
266305 |
|
|
|
266305 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-6
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.80-5
|
|
|
266305 |
- Perl 5.24 rebuild
|
|
|
266305 |
|
|
|
266305 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-4
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-3
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.80-2
|
|
|
266305 |
- Perl 5.22 rebuild
|
|
|
266305 |
|
|
|
266305 |
* Tue Apr 28 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.80-1
|
|
|
266305 |
- 0.80 bump
|
|
|
266305 |
|
|
|
266305 |
* Fri Jan 09 2015 Petr Pisar <ppisar@redhat.com> - 0.79-7
|
|
|
266305 |
- Specify all dependencies
|
|
|
266305 |
|
|
|
266305 |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.79-6
|
|
|
266305 |
- Perl 5.20 rebuild
|
|
|
266305 |
- Added patches provided by upstream
|
|
|
266305 |
|
|
|
266305 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-5
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-4
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-3
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.79-2
|
|
|
266305 |
- Perl 5.18 rebuild
|
|
|
266305 |
|
|
|
266305 |
* Tue May 28 2013 Robin Lee <cheeselee@fedoraproject.org> - 0.79-1
|
|
|
266305 |
- Update to 0.79
|
|
|
266305 |
- BR: perl(XSLoader)
|
|
|
266305 |
|
|
|
266305 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.78-2
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Wed Aug 22 2012 Robin Lee <cheeselee@fedoraproject.org> 0.78-1
|
|
|
266305 |
- Update to 0.78
|
|
|
266305 |
|
|
|
266305 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-4
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.77-3
|
|
|
266305 |
- Perl 5.16 rebuild
|
|
|
266305 |
|
|
|
266305 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-2
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Sat Oct 08 2011 Iain Arnell <iarnell@gmail.com> 0.77-1
|
|
|
266305 |
- update to latest upstream version
|
|
|
266305 |
- clean up spec for modern rpmbuild
|
|
|
266305 |
- use perl_default_filter
|
|
|
266305 |
|
|
|
266305 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.71-8
|
|
|
266305 |
- Perl mass rebuild
|
|
|
266305 |
|
|
|
266305 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.71-7
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.71-6
|
|
|
266305 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
266305 |
|
|
|
266305 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.71-5
|
|
|
266305 |
- Mass rebuild with perl-5.12.0
|
|
|
266305 |
|
|
|
266305 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.71-4
|
|
|
266305 |
- Mass rebuild with perl-5.12.0
|
|
|
266305 |
|
|
|
266305 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.71-3
|
|
|
266305 |
- rebuild against perl 5.10.1
|
|
|
266305 |
|
|
|
266305 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.71-2
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Thu Apr 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.71-1
|
|
|
266305 |
- update to 0.71
|
|
|
266305 |
|
|
|
266305 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.69-2
|
|
|
266305 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
266305 |
|
|
|
266305 |
* Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.69-1
|
|
|
266305 |
- update to 0.69
|
|
|
266305 |
|
|
|
266305 |
* Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-4
|
|
|
266305 |
- rebuild for new perl
|
|
|
266305 |
|
|
|
266305 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.68-3
|
|
|
266305 |
- Autorebuild for GCC 4.3
|
|
|
266305 |
|
|
|
266305 |
* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.68-2
|
|
|
266305 |
- bump
|
|
|
266305 |
|
|
|
266305 |
* Thu Aug 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.68-1
|
|
|
266305 |
- update to 0.68
|
|
|
266305 |
- refactor perl BR's
|
|
|
266305 |
|
|
|
266305 |
* Thu Mar 29 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.67-1
|
|
|
266305 |
- update to 0.67
|
|
|
266305 |
|
|
|
266305 |
* Sat Mar 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.66-1
|
|
|
266305 |
- update to 0.66 (0.65 update never pushed due to various issues)
|
|
|
266305 |
- misc spec cleanups
|
|
|
266305 |
- add br on perl(ExtUtils::MakeMaker) to satisfy any perl/perl-devel split
|
|
|
266305 |
|
|
|
266305 |
* Sun Feb 25 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.65-1
|
|
|
266305 |
- update to 0.65
|
|
|
266305 |
|
|
|
266305 |
* Sun Sep 17 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.64-2
|
|
|
266305 |
- bump
|
|
|
266305 |
|
|
|
266305 |
* Wed Aug 16 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.64-1
|
|
|
266305 |
- Specfile autogenerated by cpanspec 1.68.
|