parent
805043f12b
commit
3d443bbfc4
@ -0,0 +1 @@
|
||||
/Sub-Exporter-ForMethods-0.100050.tar.gz
|
@ -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@gmail.com> 0.100050-2
|
||||
- fix typo in description
|
||||
|
||||
* Mon Aug 29 2011 Iain Arnell <iarnell@gmail.com> 0.100050-1
|
||||
- Specfile autogenerated by cpanspec 1.79.
|
Loading…
Reference in new issue