update to 0.77
This commit is contained in:
parent
ceace9201f
commit
322d2b91bf
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
Devel-Size-0.71.tar.gz
|
||||
/Devel-Size-0.77.tar.gz
|
||||
|
||||
@ -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@gmail.com> 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@redhat.com> - 0.71-8
|
||||
- Perl mass rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user