commit 1a431615a5238c2c3ac57369d61d1d159988defe Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sat Jun 9 09:26:40 2012 -0600 initial import (rhbz#823167) .gitignore | 1 + perl-B-Hooks-OP-Annotation.spec | 49 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 51 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..0d88b04 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/B-Hooks-OP-Annotation-0.44.tar.gz diff --git a/perl-B-Hooks-OP-Annotation.spec b/perl-B-Hooks-OP-Annotation.spec new file mode 100644 index 0000000..c264552 --- /dev/null +++ b/perl-B-Hooks-OP-Annotation.spec @@ -0,0 +1,49 @@ +Name: perl-B-Hooks-OP-Annotation +Version: 0.44 +Release: 1%{?dist} +Summary: Annotate and delegate hooked OPs +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/B-Hooks-OP-Annotation/ +Source0: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/B-Hooks-OP-Annotation-%{version}.tar.gz +BuildRequires: perl(ExtUtils::Depends) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module provides a way for XS code that hijacks OP op_ppaddr functions +to delegate to (or restore) the previous functions, whether assigned by +perl or by another module. Typically this should be used in conjunction +with B::Hooks::OP::Check. + +%prep +%setup -q -n B-Hooks-OP-Annotation-%{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 {} \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/B* +%{_mandir}/man3/* + +%changelog +* Fri Apr 20 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.44-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..f362469 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +18b1f0088850effe58ccb4a7c9dc4024 B-Hooks-OP-Annotation-0.44.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