commit cadf760c497f4b091ecd0ba15527208f50236136 Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Mon Aug 1 10:45:28 2011 +0200 Initial import (#726245). .gitignore | 1 + perl-Eval-LineNumbers.spec | 41 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 43 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..0ba1e2b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Eval-LineNumbers-0.31.tar.gz diff --git a/perl-Eval-LineNumbers.spec b/perl-Eval-LineNumbers.spec new file mode 100644 index 0000000..7012c71 --- /dev/null +++ b/perl-Eval-LineNumbers.spec @@ -0,0 +1,41 @@ +Name: perl-Eval-LineNumbers +Version: 0.31 +Release: 1%{?dist} +Summary: Add line numbers to hereis blocks that contain perl source code +License: Artistic 2.0 or LGPLv2+ +Group: Development/Libraries +URL: http://search.cpan.org/dist/Eval-LineNumbers/ +Source0: http://www.cpan.org/authors/id/M/MU/MUIR/modules/Eval-LineNumbers-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module adds a line number to hereis text that is going to be +eval'ed so that error messages will point back to the right place. + +%prep +%setup -q -n Eval-LineNumbers-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%{perl_vendorlib}/Eval +%{_mandir}/man3/Eval::LineNumbers.3pm.gz + +%changelog +* Thu Jul 28 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.31-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..5a0e97d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +69b20fbf576942a1ef7cffef456b0081 Eval-LineNumbers-0.31.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