Name: perl-Sub-Exporter-Lexical Version: 0.092292 Release: 4%{?dist}.1 Summary: Export lexically-available subs with Sub::Exporter License: GPL+ or Artistic URL: http://search.cpan.org/dist/Sub-Exporter-Lexical/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-Lexical-%{version}.tar.gz BuildArch: noarch BuildRequires: %{__perl} BuildRequires: %{__make} BuildRequires: perl-interpreter >= 1:v5.12.0 BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker)%{?fedora: >= 6.76} BuildRequires: perl(Lexical::Sub) BuildRequires: perl(Sub::Exporter) >= 0.978 BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(warnings) BuildRequires: perl(lib) BuildRequires: perl(strict) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Sub::Exporter::Lexical provides an alternate installer for Sub::Exporter. Installers are documented in Sub::Exporter's documentation; all you need to know is that by using Sub::Exporter::Lexical's installer, you can import routines into a lexical scope that will be cleaned up when that scope ends. %prep %setup -q -n Sub-Exporter-Lexical-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 %{__make} %{?_smp_mflags} %install %{__make} pure_install DESTDIR=$RPM_BUILD_ROOT # Bogusly installed script rm $RPM_BUILD_ROOT%{perl_vendorlib}/Sub/Exporter/snippet.pl %{_fixperms} $RPM_BUILD_ROOT/* find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' %check %{__make} test %files %doc Changes README %license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Nov 16 2017 Xavier Bachelot - 0.092292-4.1 - Fix build on EL7. * Thu Jul 27 2017 Fedora Release Engineering - 0.092292-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.092292-3 - Perl 5.26 rebuild * Wed Feb 08 2017 Ralf Corsépius - 0.092292-2 - Reflect feedback from package review. * Fri Feb 03 2017 Ralf Corsépius - 0.092292-1 - Initial Fedora package.