Update to 1.6. Use fixperms macro instead of our own chmod incantation.
Reformat to match cpanspec output.
This commit is contained in:
parent
523e312eed
commit
be5255140a
@ -1 +1 @@
|
||||
PadWalker-1.5.tar.gz
|
||||
PadWalker-1.6.tar.gz
|
||||
|
||||
@ -1,58 +1,57 @@
|
||||
Name: perl-PadWalker
|
||||
Version: 1.5
|
||||
Release: 2%{?dist}
|
||||
Version: 1.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Play with other peoples' lexical variables
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/PadWalker/
|
||||
Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
PadWalker is a module which allows you to inspect (and even change!)
|
||||
lexical variables in any subroutine which called you. It will only
|
||||
show those variables which are in scope at the point of the call.
|
||||
|
||||
lexical variables in any subroutine which called you. It will only show
|
||||
those variables which are in scope at the point of the call.
|
||||
|
||||
%prep
|
||||
%setup -q -n PadWalker-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorarch}/auto/*
|
||||
%{perl_vendorarch}/PadWalker*
|
||||
%{perl_vendorarch}/auto/PadWalker/
|
||||
%{_mandir}/man3/*.3pm*
|
||||
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1.6-1
|
||||
- Update to 1.6.
|
||||
- Use fixperms macro instead of our own chmod incantation.
|
||||
- Reformat to match cpanspec output.
|
||||
|
||||
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-2
|
||||
- rebuild for new perl
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user