|
|
|
Name: perl-Devel-ArgNames
|
|
|
|
Version: 0.03
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Figure out the names of variables passed into subroutines
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Devel-ArgNames/
|
|
|
|
Source0: http://www.cpan.org/authors/id/N/NU/NUFFIN/Devel-ArgNames-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(PadWalker)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(ok)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
%description
|
|
|
|
This Perl module provides a function which returns the names associated
|
|
|
|
with the variables found on @_.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Devel-ArgNames-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-3
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-2
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Wed Jul 16 2014 Petr Pisar <ppisar@redhat.com> 0.03-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|