commit 3d443bbfc412b42c0f026875326634a814ff1567 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Tue Aug 30 17:47:17 2011 +0200 initial import (rhbz#733984) .gitignore | 1 + perl-Sub-Exporter-ForMethods.spec | 58 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..baa452c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Sub-Exporter-ForMethods-0.100050.tar.gz diff --git a/perl-Sub-Exporter-ForMethods.spec b/perl-Sub-Exporter-ForMethods.spec new file mode 100644 index 0000000..232c07c --- /dev/null +++ b/perl-Sub-Exporter-ForMethods.spec @@ -0,0 +1,58 @@ +Name: perl-Sub-Exporter-ForMethods +Version: 0.100050 +Release: 2%{?dist} +Summary: Helper routines for using Sub::Exporter to build methods +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Sub-Exporter-ForMethods/ +Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-ForMethods-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.11 +BuildRequires: perl(lib) +BuildRequires: perl(namespace::autoclean) +BuildRequires: perl(Pod::Coverage::TrustPod) +BuildRequires: perl(strict) +BuildRequires: perl(Sub::Exporter) >= 0.978 +BuildRequires: perl(Sub::Name) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Sub::Exporter) >= 0.978 + +%{?perl_default_filter} + +%description +This package provides helper routines for using Sub::Exporter to build methods +that won't be removed by namespace::autoclean. + +%prep +%setup -q -n Sub-Exporter-ForMethods-%{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 {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +RELEASE_TESTING=1 make test + +%files +%doc LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Aug 30 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.100050-2 +- fix typo in description + +* Mon Aug 29 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.100050-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..e02461d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3ae501e067f711f150f5562ac3fee029 Sub-Exporter-ForMethods-0.100050.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