commit 75928889b17fa4fb00bebca52cd1ed050f33e03d Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Tue Mar 15 15:03:50 2011 +0000 Revert to EL-5 package .gitignore | 3 +- perl-PadWalker.spec | 91 +++++++++++--------------------------------------- sources | 2 +- 3 files changed, 22 insertions(+), 74 deletions(-) --- diff --git a/.gitignore b/.gitignore index d777b45..d286898 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -PadWalker-1.9.tar.gz -/PadWalker-1.92.tar.gz +/PadWalker-1.2.tar.gz diff --git a/perl-PadWalker.spec b/perl-PadWalker.spec index 6cae372..8a71158 100644 --- a/perl-PadWalker.spec +++ b/perl-PadWalker.spec @@ -1,108 +1,57 @@ Name: perl-PadWalker -Version: 1.92 -Release: 2%{?dist} +Version: 1.2 +Release: 1%{?dist} Summary: Play with other peoples' lexical variables -License: GPL+ or Artistic + Group: Development/Libraries +License: GPL+ or Artistic 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} +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 -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $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@xxxxxxxxxxxxxxxxxxxxxxx> - 1.92-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue Dec 28 2010 Steven Pritchard <steve@xxxxxxxxx> 1.92-1 -- Update to 1.92. +%{perl_vendorarch}/auto/PadWalker/ +%{_mandir}/man3/*.3pm* -* Tue Dec 21 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.9-5 -- 661697 rebuild for fixing problems with vendorach/lib - -* Tue May 04 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.9-4 -- Mass rebuild with perl-5.12.0 - -* Fri Mar 19 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> - 1.9-3 -- PERL_INSTALL_ROOT => DESTDIR, perl_default_filter (XS package) - -* Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.9-2 -- rebuild against perl 5.10.1 - -* Wed Oct 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.9-1 -- new upstream version - -* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.7-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.7-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 1.7-2 -- Rebuild for perl 5.10 (again) - -* Thu Feb 21 2008 Steven Pritchard <steve@xxxxxxxxx> 1.7-1 -- Update to 1.7. - -* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxx> - 1.6-2 -- Autorebuild for GCC 4.3 - -* Mon Jan 28 2008 Steven Pritchard <steve@xxxxxxxxx> 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@xxxxxxxxxx> - 1.5-2 -- rebuild for new perl - -* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 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. +%changelog * Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.2-1 - Update to 1.2. diff --git a/sources b/sources index cb418c0..4dee416 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -304722b441c15634bdb048685800ee3a PadWalker-1.92.tar.gz +a33cce19a5be0c83297e7b2ba1878e08 PadWalker-1.2.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