c959a4
Name:           perl-PadWalker
c959a4
Version:        2.5
c959a4
Release:        4%{?dist}
c959a4
Summary:        Play with other people's lexical variables
c959a4
License:        GPL+ or Artistic
c959a4
URL:            https://metacpan.org/release/PadWalker
c959a4
Source0:        https://cpan.metacpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
c959a4
# Build:
c959a4
BuildRequires:  coreutils
c959a4
BuildRequires:  findutils
c959a4
BuildRequires:  gcc
c959a4
BuildRequires:  make
c959a4
BuildRequires:  perl-devel
c959a4
BuildRequires:  perl-generators
c959a4
BuildRequires:  perl-interpreter
c959a4
BuildRequires:  perl(ExtUtils::MakeMaker)
c959a4
# Run-time
c959a4
BuildRequires:  perl(DynaLoader)
c959a4
BuildRequires:  perl(Exporter)
c959a4
BuildRequires:  perl(strict)
c959a4
BuildRequires:  perl(vars)
c959a4
# Tests:
c959a4
BuildRequires:  perl(Data::Dumper)
c959a4
BuildRequires:  perl(warnings)
c959a4
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
c959a4
c959a4
%{?perl_default_filter}
c959a4
c959a4
%description
c959a4
PadWalker is a module that allows you to inspect (and even change!)
c959a4
lexical variables in any subroutine that called you. It will only show
c959a4
those variables that are in scope at the point of the call.
c959a4
c959a4
%prep
c959a4
%setup -q -n PadWalker-%{version}
c959a4
c959a4
%build
c959a4
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
c959a4
make %{?_smp_mflags}
c959a4
c959a4
%install
c959a4
make pure_install DESTDIR=%{buildroot}
c959a4
find %{buildroot} -type f -name .packlist -delete
c959a4
find %{buildroot} -type f -name '*.bs' -empty -delete
c959a4
%{_fixperms} -c %{buildroot}
c959a4
c959a4
%check
c959a4
make test
c959a4
c959a4
%files
c959a4
%doc Changes README
c959a4
%{perl_vendorarch}/auto/PadWalker/
c959a4
%{perl_vendorarch}/PadWalker.pm
c959a4
%{_mandir}/man3/PadWalker.3*
c959a4
c959a4
%changelog
c959a4
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.5-4
c959a4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
c959a4
  Related: rhbz#1991688
c959a4
c959a4
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.5-3
c959a4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
c959a4
c959a4
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c959a4
c959a4
* Sun Sep 27 2020 Paul Howarth <paul@city-fan.org> - 2.5-1
c959a4
- Update to 2.5
c959a4
  - Names of utf8 lexical vars were not reported correctly (CPAN RT#133424)
c959a4
c959a4
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-10
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c959a4
c959a4
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.3-9
c959a4
- Perl 5.32 rebuild
c959a4
c959a4
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-8
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c959a4
c959a4
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-7
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c959a4
c959a4
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.3-6
c959a4
- Perl 5.30 rebuild
c959a4
c959a4
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-5
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c959a4
c959a4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-4
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c959a4
c959a4
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.3-3
c959a4
- Perl 5.28 rebuild
c959a4
c959a4
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-2
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c959a4
c959a4
* Sun Nov 12 2017 Paul Howarth <paul@city-fan.org> - 2.3-1
c959a4
- Update to 2.3
c959a4
  - Make tests work with -Ddefault_inc_excludes_dot (CPAN RT#120421)
c959a4
- Simplify find commands using -empty and -delete
c959a4
- Drop legacy Group: tag
c959a4
c959a4
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-7
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c959a4
c959a4
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-6
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c959a4
c959a4
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.2-5
c959a4
- Perl 5.26 rebuild
c959a4
c959a4
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-4
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c959a4
c959a4
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.2-3
c959a4
- Perl 5.24 rebuild
c959a4
c959a4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-2
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c959a4
c959a4
* Mon Oct 26 2015 Paul Howarth <paul@city-fan.org> - 2.2-1
c959a4
- Update to 2.2
c959a4
  - Convert to PERL_NO_GET_CONTEXT
c959a4
    https://github.com/robinhouston/PadWalker/pull/2
c959a4
- Explicitly BR: perl-devel, needed for EXTERN.h
c959a4
c959a4
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-3
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c959a4
c959a4
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.1-2
c959a4
- Perl 5.22 rebuild
c959a4
c959a4
* Sun Apr 26 2015 Paul Howarth <paul@city-fan.org> - 2.1-1
c959a4
- Update to 2.1
c959a4
  - Another bleadperl fix (CPAN RT#101037)
c959a4
c959a4
* Mon Dec 15 2014 Paul Howarth <paul@city-fan.org> - 2.0-1
c959a4
- Update to 2.0
c959a4
  - Restore compatibility with perl 5.8 (CPAN RT#100262)
c959a4
  - Restore compatibility with bleadperl (PR#3)
c959a4
c959a4
* Tue Nov 11 2014 Paul Howarth <paul@city-fan.org> - 1.99-1
c959a4
- Update to 1.99
c959a4
  - Make it compatible with bleadperl (CPAN RT#100262)
c959a4
c959a4
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.98-4
c959a4
- Perl 5.20 rebuild
c959a4
c959a4
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.98-3
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c959a4
c959a4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.98-2
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c959a4
c959a4
* Sun Oct 27 2013 Paul Howarth <paul@city-fan.org> - 1.98-1
c959a4
- Update to 1.98
c959a4
  - Improve peek_sub error handling (CPAN RT#89679)
c959a4
- Specify all dependencies
c959a4
- Don't use macros for commands
c959a4
- Make %%files list more explicit
c959a4
c959a4
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.96-4
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c959a4
c959a4
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.96-3
c959a4
- Perl 5.18 rebuild
c959a4
c959a4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.96-2
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c959a4
c959a4
* Wed Oct 24 2012 Petr Pisar <ppisar@redhat.com> - 1.96-1
c959a4
- 1.96 bump
c959a4
c959a4
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.92-7
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c959a4
c959a4
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.92-6
c959a4
- Perl 5.16 rebuild
c959a4
- Specify all dependencies
c959a4
c959a4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.92-5
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c959a4
c959a4
* Tue Jun 21 2011 Iain Arnell <iarnell@gmail.com> 1.92-4
c959a4
- really rebuild against perl-5.14
c959a4
c959a4
* Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.92-3
c959a4
- Perl mass rebuild
c959a4
c959a4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.92-2
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c959a4
c959a4
* Tue Dec 28 2010 Steven Pritchard <steve@kspei.com> 1.92-1
c959a4
- Update to 1.92.
c959a4
c959a4
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.9-5
c959a4
- Rebuild to fix problems with vendorarch/lib (#661697)
c959a4
c959a4
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.9-4
c959a4
- Mass rebuild with perl-5.12.0
c959a4
c959a4
* Fri Mar 19 2010 Chris Weyl <cweyl@alumni.drew.edu> - 1.9-3
c959a4
- PERL_INSTALL_ROOT => DESTDIR, perl_default_filter (XS package)
c959a4
c959a4
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.9-2
c959a4
- rebuild against perl 5.10.1
c959a4
c959a4
* Wed Oct  7 2009 Stepan Kasal <skasal@redhat.com> - 1.9-1
c959a4
- new upstream version
c959a4
c959a4
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-4
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c959a4
c959a4
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
c959a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c959a4
c959a4
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7-2
c959a4
- Rebuild for perl 5.10 (again)
c959a4
c959a4
* Thu Feb 21 2008 Steven Pritchard <steve@kspei.com> 1.7-1
c959a4
- Update to 1.7.
c959a4
c959a4
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6-2
c959a4
- Autorebuild for GCC 4.3
c959a4
c959a4
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1.6-1
c959a4
- Update to 1.6.
c959a4
- Use fixperms macro instead of our own chmod incantation.
c959a4
- Reformat to match cpanspec output.
c959a4
c959a4
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-2
c959a4
- rebuild for new perl
c959a4
c959a4
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-1.1
c959a4
- correct license tag
c959a4
- add BR: perl(ExtUtils::MakeMaker)
c959a4
c959a4
* Fri Jan  5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5-1
c959a4
- Update to 1.5.
c959a4
c959a4
* Thu Jan  4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3-1
c959a4
- Update to 1.3.
c959a4
c959a4
* Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.2-1
c959a4
- Update to 1.2.
c959a4
c959a4
* Mon Oct 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1-1
c959a4
- Update to 1.1.
c959a4
c959a4
* Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-2
c959a4
- Rebuild for FC6.
c959a4
c959a4
* Fri May 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-1
c959a4
- First build.