From 0889cfed3c4ae666c97a25ec826a890677e0f773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 17 Jul 2014 14:44:40 +0200 Subject: [PATCH] Import --- .gitignore | 1 + perl-Devel-ArgNames.spec | 50 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+) create mode 100644 perl-Devel-ArgNames.spec diff --git a/.gitignore b/.gitignore index e69de29..951972b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Devel-ArgNames-0.03.tar.gz diff --git a/perl-Devel-ArgNames.spec b/perl-Devel-ArgNames.spec new file mode 100644 index 0000000..b21b8a1 --- /dev/null +++ b/perl-Devel-ArgNames.spec @@ -0,0 +1,50 @@ +Name: perl-Devel-ArgNames +Version: 0.03 +Release: 1%{?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 +* Wed Jul 16 2014 Petr Pisar 0.03-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..4acab03 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +052c96b835db0794f47e6f263b803143 Devel-ArgNames-0.03.tar.gz