commit 322d2b91bfb23b3e65dbe45971038167bfb23569 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sat Oct 8 09:27:53 2011 +0200 update to 0.77 .gitignore | 1 + perl-Devel-Size.spec | 27 +++++++++------------------ sources | 2 +- 3 files changed, 11 insertions(+), 19 deletions(-) --- diff --git a/.gitignore b/.gitignore index feb9d7a..d7ee4c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Devel-Size-0.71.tar.gz +/Devel-Size-0.77.tar.gz diff --git a/perl-Devel-Size.spec b/perl-Devel-Size.spec index 44cb570..2ad6ab3 100644 --- a/perl-Devel-Size.spec +++ b/perl-Devel-Size.spec @@ -1,6 +1,6 @@ Name: perl-Devel-Size -Version: 0.71 -Release: 8%{?dist} +Version: 0.77 +Release: 1%{?dist} Summary: Perl extension for finding the memory usage of Perl variables License: GPL+ or Artistic Group: Development/Libraries @@ -8,7 +8,6 @@ URL: http://search.cpan.org/dist/Devel-Size/ Source0: http://www.cpan.org/modules/by-module/Devel/Devel-Size-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # core @@ -19,11 +18,7 @@ BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) -# don't "provide" private Perl libs -%global _use_internal_dependency_generator 0 -%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u -%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}" -%global __find_requires /bin/sh -c "%{__deploop R}" +%?perl_default_filter %description This module figures out the real sizes of Perl variables in bytes. Call @@ -34,17 +29,12 @@ variable is a hash or an array, use a reference when calling. %prep %setup -q -n Devel-Size-%{version} -# fix permissions.... -find . -type f -exec chmod -c -x {} + - %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install -rm -rf %{buildroot} - -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; @@ -55,17 +45,18 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %check make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc CHANGES t/ %{perl_vendorarch}/auto/* %{perl_vendorarch}/Devel* %{_mandir}/man3/* %changelog +* Sat Oct 08 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.77-1 +- update to latest upstream version +- clean up spec for modern rpmbuild +- use perl_default_filter + * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.71-8 - Perl mass rebuild diff --git a/sources b/sources index 8ca818a..3bfcea5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9504441ae609b39d70384a9fdc186362 Devel-Size-0.71.tar.gz +3ed95f459e9fab52d6d2b3aebf9343fd Devel-Size-0.77.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel