117 lines
3.6 KiB
RPMSpec
117 lines
3.6 KiB
RPMSpec
Name: perl-PadWalker
|
|
Version: 1.92
|
|
Release: 2%{?dist}
|
|
Summary: Play with other peoples' lexical variables
|
|
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)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%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.
|
|
|
|
%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 DESTDIR=$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*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.92-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Tue Dec 28 2010 Steven Pritchard <steve@kspei.com> 1.92-1
|
|
- Update to 1.92.
|
|
|
|
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.9-5
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.9-4
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Fri Mar 19 2010 Chris Weyl <cweyl@alumni.drew.edu> - 1.9-3
|
|
- PERL_INSTALL_ROOT => DESTDIR, perl_default_filter (XS package)
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.9-2
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Wed Oct 7 2009 Stepan Kasal <skasal@redhat.com> - 1.9-1
|
|
- new upstream version
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7-2
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
* Thu Feb 21 2008 Steven Pritchard <steve@kspei.com> 1.7-1
|
|
- Update to 1.7.
|
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6-2
|
|
- Autorebuild for GCC 4.3
|
|
|
|
* 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
|
|
|
|
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-1.1
|
|
- correct license tag
|
|
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
|
* Fri Jan 5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5-1
|
|
- Update to 1.5.
|
|
|
|
* Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3-1
|
|
- Update to 1.3.
|
|
|
|
* Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.2-1
|
|
- Update to 1.2.
|
|
|
|
* Mon Oct 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1-1
|
|
- Update to 1.1.
|
|
|
|
* Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-2
|
|
- Rebuild for FC6.
|
|
|
|
* Fri May 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-1
|
|
- First build.
|