|
|
002cfe |
Name: perl-Exporter
|
|
|
002cfe |
Version: 5.68
|
|
|
f80df6 |
Release: 3%{?dist}
|
|
|
002cfe |
Summary: Implements default import method for modules
|
|
|
002cfe |
License: GPL+ or Artistic
|
|
|
002cfe |
Group: Development/Libraries
|
|
|
002cfe |
URL: http://search.cpan.org/dist/Exporter/
|
|
|
002cfe |
Source0: http://www.cpan.org/authors/id/T/TO/TODDR/Exporter-%{version}.tar.gz
|
|
|
002cfe |
BuildArch: noarch
|
|
|
002cfe |
BuildRequires: perl
|
|
|
002cfe |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
002cfe |
# Run-time:
|
|
|
002cfe |
BuildRequires: perl(Carp) >= 1.05
|
|
|
002cfe |
BuildRequires: perl(strict)
|
|
|
002cfe |
BuildRequires: perl(warnings)
|
|
|
002cfe |
# Tests:
|
|
|
002cfe |
BuildRequires: perl(Test::More)
|
|
|
002cfe |
BuildRequires: perl(vars)
|
|
|
002cfe |
%if !%{defined perl_bootstrap}
|
|
|
002cfe |
# Optional tests:
|
|
|
002cfe |
BuildRequires: perl(Test::Pod) >= 1.18
|
|
|
002cfe |
%endif
|
|
|
002cfe |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
002cfe |
Requires: perl(Carp) >= 1.05
|
|
|
002cfe |
Requires: perl(warnings)
|
|
|
002cfe |
|
|
|
002cfe |
%description
|
|
|
002cfe |
The Exporter module implements an import method which allows a module to
|
|
|
002cfe |
export functions and variables to its users' name spaces. Many modules use
|
|
|
002cfe |
Exporter rather than implementing their own import method because Exporter
|
|
|
002cfe |
provides a highly flexible interface, with an implementation optimized for
|
|
|
002cfe |
the common case.
|
|
|
002cfe |
|
|
|
002cfe |
%prep
|
|
|
002cfe |
%setup -q -n Exporter-%{version}
|
|
|
002cfe |
|
|
|
002cfe |
%build
|
|
|
002cfe |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
002cfe |
make %{?_smp_mflags}
|
|
|
002cfe |
|
|
|
002cfe |
%install
|
|
|
002cfe |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
002cfe |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
002cfe |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
002cfe |
|
|
|
002cfe |
%check
|
|
|
002cfe |
make test
|
|
|
002cfe |
|
|
|
002cfe |
%files
|
|
|
002cfe |
%doc Changes README
|
|
|
002cfe |
%{perl_vendorlib}/*
|
|
|
002cfe |
%{_mandir}/man3/*
|
|
|
002cfe |
|
|
|
002cfe |
%changelog
|
|
|
f80df6 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 5.68-3
|
|
|
f80df6 |
- Mass rebuild 2013-12-27
|
|
|
f80df6 |
|
|
|
002cfe |
* Fri Jul 26 2013 Petr Pisar <ppisar@redhat.com> - 5.68-2
|
|
|
002cfe |
- Specify all dependencies
|
|
|
002cfe |
|
|
|
002cfe |
* Thu Mar 28 2013 Petr Pisar <ppisar@redhat.com> - 5.68-1
|
|
|
002cfe |
- 5.68 bump
|
|
|
002cfe |
|
|
|
002cfe |
* Fri Mar 22 2013 Petr Pisar <ppisar@redhat.com> 5.67-1
|
|
|
002cfe |
- Specfile autogenerated by cpanspec 1.78.
|