|
|
|
@ -1,25 +1,28 @@
|
|
|
|
|
Name: perl-Sub-Exporter-ForMethods
|
|
|
|
|
Version: 0.100050
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Version: 0.100051
|
|
|
|
|
Release: 1%{?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
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Run-time:
|
|
|
|
|
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
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
|
BuildRequires: perl(IPC::Open3)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(namespace::autoclean)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
@ -31,26 +34,26 @@ that won't be removed by namespace::autoclean.
|
|
|
|
|
%setup -q -n Sub-Exporter-ForMethods-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
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
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc LICENSE README
|
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 21 2014 Petr Pisar <ppisar@redhat.com> - 0.100051-1
|
|
|
|
|
- 0.100051 bump
|
|
|
|
|
|
|
|
|
|
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.100050-9
|
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
|
|