From 816c6bb0ea9e955948b39af329c31d1fb2ca2fa3 Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: Jun 09 2012 15:28:04 +0000 Subject: initial import (rhbz#823166) --- diff --git a/.gitignore b/.gitignore index e69de29..559f2de 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/B-Hooks-OP-Check-EntersubForCV-0.09.tar.gz diff --git a/perl-B-Hooks-OP-Check-EntersubForCV.spec b/perl-B-Hooks-OP-Check-EntersubForCV.spec new file mode 100644 index 0000000..d618a55 --- /dev/null +++ b/perl-B-Hooks-OP-Check-EntersubForCV.spec @@ -0,0 +1,55 @@ +Name: perl-B-Hooks-OP-Check-EntersubForCV +Version: 0.09 +Release: 2%{?dist} +Summary: Invoke callbacks on construction of entersub OPs for certain CVs +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/B-Hooks-OP-Check-EntersubForCV/ +Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/B-Hooks-OP-Check-EntersubForCV-%{version}.tar.gz +BuildRequires: perl(B::Hooks::OP::Check) >= 0.19 +BuildRequires: perl(B::Utils) >= 0.19 +BuildRequires: perl(ExtUtils::Depends) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(Module::Install::ExtraTests) +BuildRequires: perl(parent) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Invoke callbacks on construction of entersub OPs for certain CVs. + +%prep +%setup -q -n B-Hooks-OP-Check-EntersubForCV-%{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 +* Sat May 26 2012 Iain Arnell 0.09-2 +- BuildRequire inc::Module::Install, not EU::MM + +* Fri Apr 20 2012 Iain Arnell 0.09-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..7080290 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5eb9a1c6038acf0a6da0a28f25c862f1 B-Hooks-OP-Check-EntersubForCV-0.09.tar.gz