commit 46eec3c0672b7a7f70a63e919af3c9319133ca13 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Wed Aug 24 09:10:42 2011 +0200 initial import (rhbz#730069) .gitignore | 1 + perl-indirect.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 56 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..c92c18a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/indirect-0.24.tar.gz diff --git a/perl-indirect.spec b/perl-indirect.spec new file mode 100644 index 0000000..304b603 --- /dev/null +++ b/perl-indirect.spec @@ -0,0 +1,54 @@ +Name: perl-indirect +Version: 0.24 +Release: 1%{?dist} +Summary: Lexically warn about using the indirect object syntax +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/indirect/ +Source0: http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/indirect-%{version}.tar.gz +BuildRequires: perl >= 0:5.008001 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::Kwalitee) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Portability::Files) +BuildRequires: perl(XSLoader) +Requires: perl(XSLoader) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +When enabled (or disabled as some may prefer to say, since you actually +turn it on by calling no indirect), this pragma warns about indirect object +syntax constructs that may have slipped into your code. + +%prep +%setup -q -n indirect-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/indirect* +%{_mandir}/man3/* + +%changelog +* Thu Aug 11 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.24-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..1ce82ed 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5ce3afe4e3b8f98477820e56d0f207d6 indirect-0.24.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