Name: perl-Module-Extract-Namespaces Version: 1.02 Release: 10%{?dist} Summary: Extract the package declarations from a module License: GPL+ or Artistic URL: http://search.cpan.org/dist/Module-Extract-Namespaces/ Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Module-Extract-Namespaces-%{version}.tar.gz Patch0: Module-Extract-Namespaces-1.02-provides.patch BuildArch: noarch # Module Build BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Manifest) >= 1.21 # Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(PPI) BuildRequires: perl(strict) BuildRequires: perl(subs) BuildRequires: perl(vars) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(File::Spec) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 1.00 # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module extracts package declarations from Perl code without running the code. It does not extract: * Packages declared dynamically (e.g. in eval) * Packages created as part of a fully qualified variable name %prep %setup -q -n Module-Extract-Namespaces-%{version} # Hide private PPI::Lexer package from rpm %patch0 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot} %check make test %files %doc Changes LICENSE README %{perl_vendorlib}/Module/ %{_mandir}/man3/Module::Extract::Namespaces.3pm* %changelog * Sat Feb 11 2017 Fedora Release Engineering - 1.02-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 1.02-9 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.02-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.02-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1.02-6 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 1.02-5 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.02-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Feb 26 2014 Paul Howarth - 1.02-3 - Drop redundant Group tag (#1069797) * Tue Feb 25 2014 Paul Howarth - 1.02-2 - Sanitize for Fedora submission * Thu Feb 6 2014 Paul Howarth - 1.02-1 - Initial RPM version