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