2024-01-06 09:28:45 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-PadWalker
|
2024-01-06 09:28:45 +01:00
|
|
|
Version: 2.5
|
2024-01-06 09:28:45 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 09:28:45 +01:00
|
|
|
Summary: PadWalker - play with other peoples' lexical variables
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 09:28:45 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 09:28:45 +01:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
|
|
|
|
License: GPL, Artistic
|
2024-01-06 09:28:45 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libperl
|
2024-01-06 09:28:45 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-06 09:28:45 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl >= 2:5.36.0
|
2024-01-06 09:28:45 +01:00
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%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 PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make
|
|
|
|
%make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
%{perl_vendorarch}/PadWalker*
|
2024-01-06 09:28:45 +01:00
|
|
|
%{_mandir}/man3/*.3pm*
|
2024-01-06 09:28:45 +01:00
|
|
|
%doc Changes README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:28:45 +01:00
|
|
|
* Mon Apr 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5-2mamba
|
|
|
|
- rebuilt with perl 5.36.0
|
|
|
|
|
2024-01-06 09:28:45 +01:00
|
|
|
* Fri Oct 02 2020 Automatic Build System <autodist@mambasoft.it> 2.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:28:45 +01:00
|
|
|
* Sun Nov 26 2017 Automatic Build System <autodist@mambasoft.it> 2.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:28:45 +01:00
|
|
|
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-2mamba
|
|
|
|
- rebuilt with perl 5.24
|
|
|
|
|
2024-01-06 09:28:45 +01:00
|
|
|
* Mon Feb 01 2016 Automatic Build System <autodist@mambasoft.it> 2.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:28:45 +01:00
|
|
|
* Thu May 07 2015 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:28:45 +01:00
|
|
|
* Mon Jan 05 2015 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:28:45 +01:00
|
|
|
* Tue Dec 02 2014 Automatic Build System <autodist@mambasoft.it> 1.99_1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:28:45 +01:00
|
|
|
* Wed Oct 30 2013 Automatic Build System <autodist@mambasoft.it> 1.98-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Nov 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.96-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Sat Sep 15 2012 Automatic Build System <autodist@mambasoft.it> 1.96-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 1.94-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 10 2012 Automatic Build System <autodist@mambasoft.it> 1.93-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 18 2011 gil <puntogil@libero.it> 1.92-1mamba
|
|
|
|
- package created by autospec
|