|
|
23f55a2 |
Name: perl-Module-ExtractUse
|
|
|
e645df0 |
Version: 0.343
|
|
|
41a4992 |
Release: 2%{?dist}
|
|
|
23f55a2 |
Summary: Find out what modules are used
|
|
|
23f55a2 |
License: GPL+ or Artistic
|
|
|
368cf24 |
URL: https://metacpan.org/release/Module-ExtractUse
|
|
|
368cf24 |
Source0: https://cpan.metacpan.org/modules/by-module/Module/Module-ExtractUse-%{version}.tar.gz
|
|
|
23f55a2 |
BuildArch: noarch
|
|
|
744baeb |
# Module Build
|
|
|
744baeb |
BuildRequires: coreutils
|
|
|
acb6f49 |
BuildRequires: perl-generators
|
|
|
4cac69b |
BuildRequires: perl-interpreter
|
|
|
ecef9f5 |
BuildRequires: perl(Module::Build) >= 0.37
|
|
|
744baeb |
# Module Runtime
|
|
|
744baeb |
BuildRequires: perl(Carp)
|
|
|
918b8ae |
BuildRequires: perl(Parse::RecDescent) >= 1.967009
|
|
|
918b8ae |
BuildRequires: perl(Pod::Strip)
|
|
|
744baeb |
BuildRequires: perl(strict)
|
|
|
744baeb |
BuildRequires: perl(vars)
|
|
|
744baeb |
BuildRequires: perl(warnings)
|
|
|
744baeb |
# Test Suite
|
|
|
918b8ae |
BuildRequires: perl(Test::Deep)
|
|
|
918b8ae |
BuildRequires: perl(Test::More)
|
|
|
23f55a2 |
BuildRequires: perl(Test::NoWarnings)
|
|
|
744baeb |
# Optional Tests
|
|
|
744baeb |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
744baeb |
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
|
|
23f55a2 |
BuildRequires: perl(UNIVERSAL::require)
|
|
|
744baeb |
# Dependencies
|
|
|
5e3161d |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
23f55a2 |
|
|
|
23f55a2 |
%description
|
|
|
23f55a2 |
Module::ExtractUse is basically a Parse::RecDescent grammar to parse Perl
|
|
|
23f55a2 |
code. It tries very hard to find all modules (whether pragmas, Core, or
|
|
|
23f55a2 |
from CPAN) used by the parsed code.
|
|
|
23f55a2 |
|
|
|
23f55a2 |
%prep
|
|
|
23f55a2 |
%setup -q -n Module-ExtractUse-%{version}
|
|
|
23f55a2 |
|
|
|
23f55a2 |
%build
|
|
|
48609b3 |
perl Build.PL --installdirs=vendor
|
|
|
23f55a2 |
./Build
|
|
|
23f55a2 |
|
|
|
23f55a2 |
%install
|
|
|
4cac69b |
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
4cac69b |
%{_fixperms} -c %{buildroot}
|
|
|
23f55a2 |
|
|
|
23f55a2 |
%check
|
|
|
e8053ae |
./Build test
|
|
|
e8053ae |
./Build test --test_files="xt/*.t"
|
|
|
23f55a2 |
|
|
|
23f55a2 |
%files
|
|
|
744baeb |
%if 0%{?_licensedir:1}
|
|
|
744baeb |
%license LICENSE
|
|
|
744baeb |
%else
|
|
|
744baeb |
%doc LICENSE
|
|
|
744baeb |
%endif
|
|
|
5e3161d |
%doc Changes README example/
|
|
|
5e3161d |
%dir %{perl_vendorlib}/Module/
|
|
|
23f55a2 |
%{perl_vendorlib}/Module/ExtractUse.pm
|
|
|
23f55a2 |
%dir %{perl_vendorlib}/Module/ExtractUse/
|
|
|
23f55a2 |
%{perl_vendorlib}/Module/ExtractUse/Grammar.pm
|
|
|
744baeb |
%{_mandir}/man3/Module::ExtractUse.3*
|
|
|
744baeb |
%{_mandir}/man3/Module::ExtractUse::Grammar.3*
|
|
|
23f55a2 |
|
|
|
23f55a2 |
%changelog
|
|
|
41a4992 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.343-2
|
|
|
41a4992 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
41a4992 |
|
|
|
e645df0 |
* Thu Oct 18 2018 Paul Howarth <paul@city-fan.org> - 0.343-1
|
|
|
e645df0 |
- Update to 0.343
|
|
|
e645df0 |
- Mention Perl::PrereqScanner modules family
|
|
|
e645df0 |
|
|
|
0f1d02b |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.342-4
|
|
|
0f1d02b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
0f1d02b |
|
|
|
1634913 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.342-3
|
|
|
1634913 |
- Perl 5.28 rebuild
|
|
|
1634913 |
|
|
|
f9f956f |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.342-2
|
|
|
f9f956f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f9f956f |
|
|
|
4cac69b |
* Tue Jan 23 2018 Paul Howarth <paul@city-fan.org> - 0.342-1
|
|
|
4cac69b |
- Update to 0.342
|
|
|
4cac69b |
- Escape left (and right) braces to silence deprecation warnings
|
|
|
4cac69b |
(CPAN RT#124146)
|
|
|
4cac69b |
- Drop EL-5 support
|
|
|
4cac69b |
- Drop BuildRoot: and Group: tags
|
|
|
4cac69b |
- Drop explicit buildroot cleaning in %%install section
|
|
|
4cac69b |
- Drop explicit %%clean section
|
|
|
4cac69b |
|
|
|
1edb55f |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.341-6
|
|
|
1edb55f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
1edb55f |
|
|
|
8a0d2f6 |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.341-5
|
|
|
8a0d2f6 |
- Perl 5.26 rebuild
|
|
|
8a0d2f6 |
|
|
|
a183c8b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.341-4
|
|
|
a183c8b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a183c8b |
|
|
|
a4c93bc |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.341-3
|
|
|
a4c93bc |
- Perl 5.24 rebuild
|
|
|
a4c93bc |
|
|
|
d337f3b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.341-2
|
|
|
d337f3b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d337f3b |
|
|
|
744baeb |
* Sun Jan 31 2016 Paul Howarth <paul@city-fan.org> - 0.341-1
|
|
|
744baeb |
- Update to 0.341
|
|
|
744baeb |
- load_first_existing_class() is now working
|
|
|
744baeb |
- Class::Load::load_class(), try_load_class() and load_optional_class() are
|
|
|
744baeb |
working
|
|
|
744baeb |
- Detect uses of Module::Runtime
|
|
|
744baeb |
- Include extractuse as provided by Jonathan Yu in example/
|
|
|
744baeb |
- Linkify POD modules, mention Module::Extract::Use to resolve CPAN RT#45571
|
|
|
744baeb |
- Fix 20_parse_self.t; version.pm is no longer used
|
|
|
744baeb |
- Classify buildreqs by usage
|
|
|
744baeb |
|
|
|
60e73d4 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-5
|
|
|
60e73d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
60e73d4 |
|
|
|
01be95d |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.33-4
|
|
|
01be95d |
- Perl 5.22 rebuild
|
|
|
01be95d |
|
|
|
9a21e54 |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.33-3
|
|
|
9a21e54 |
- Perl 5.20 rebuild
|
|
|
9a21e54 |
|
|
|
209b5b9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-2
|
|
|
209b5b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
209b5b9 |
|
|
|
48609b3 |
* Sat Apr 12 2014 Paul Howarth <paul@city-fan.org> - 0.33-1
|
|
|
48609b3 |
- Update to 0.33
|
|
|
48609b3 |
- Added base() handling to no
|
|
|
48609b3 |
- Support 'no MODULE' etc. (CPAN RT#94305)
|
|
|
48609b3 |
- Typo fix
|
|
|
48609b3 |
- Ignore __DATA|END__ sections (CPAN RT#88969)
|
|
|
48609b3 |
- Ignore use/require method calls
|
|
|
48609b3 |
|
|
|
97fa6d4 |
* Wed Sep 4 2013 Paul Howarth <paul@city-fan.org> - 0.32-1
|
|
|
97fa6d4 |
- Update to 0.32
|
|
|
97fa6d4 |
- Don't include cached results
|
|
|
97fa6d4 |
- Fix handling module beginning with v and pragma with version
|
|
|
97fa6d4 |
- Recognize "use parent"
|
|
|
97fa6d4 |
|
|
|
adb81f1 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-3
|
|
|
adb81f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
adb81f1 |
|
|
|
75b91ae |
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 0.31-2
|
|
|
75b91ae |
- Perl 5.18 rebuild
|
|
|
75b91ae |
|
|
|
5f4ea58 |
* Fri May 31 2013 Paul Howarth <paul@city-fan.org> - 0.31-1
|
|
|
5f4ea58 |
- Update to 0.31
|
|
|
5f4ea58 |
- Support use Foo::Bar (); etc. (CPAN RT#50723)
|
|
|
5f4ea58 |
- "use" after statement with trailing comment was ignored (CPAN RT#71761)
|
|
|
5f4ea58 |
- Fixed the Pod::Simple encoding issue
|
|
|
5f4ea58 |
- Fix incorrect regexp (ref gh-5)
|
|
|
5f4ea58 |
- Avoid regex features introduced only in later perl (close gh-5)
|
|
|
5f4ea58 |
- Use plan() instead of done_testing() (ref gh-5)
|
|
|
5f4ea58 |
- Add support for bareword leading hyphyen, in-place arrayref and hashref
|
|
|
5f4ea58 |
- Proper version number for older releases in Changes file
|
|
|
5f4ea58 |
|
|
|
48f46c9 |
* Thu Apr 18 2013 Paul Howarth <paul@city-fan.org> - 0.30-1
|
|
|
48f46c9 |
- Update to 0.30
|
|
|
48f46c9 |
- Add accessors and tests for _in_eval/_out_of_eval
|
|
|
48f46c9 |
- Reworked 80_failing.t to TODO tests
|
|
|
48f46c9 |
- Added more require-in-string corner test cases
|
|
|
48f46c9 |
- Fix the case for eval["']expr["'] and add regression tests
|
|
|
48f46c9 |
|
|
|
1b83b9c |
* Mon Feb 25 2013 Paul Howarth <paul@city-fan.org> - 0.29-1
|
|
|
1b83b9c |
- Update to 0.29
|
|
|
1b83b9c |
- Fixed regex to filter use/require (CPAN RT#83569)
|
|
|
1b83b9c |
|
|
|
804723f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-2
|
|
|
804723f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
804723f |
|
|
|
fc78169 |
* Tue Aug 21 2012 Paul Howarth <paul@city-fan.org> - 0.28-1
|
|
|
fc78169 |
- Update to 0.28
|
|
|
fc78169 |
- Whitespace in use base is valid
|
|
|
fc78169 |
|
|
|
5798f74 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.27-4
|
|
|
5798f74 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5798f74 |
|
|
|
0888b00 |
* Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 0.27-3
|
|
|
0888b00 |
- Perl 5.16 rebuild
|
|
|
0888b00 |
|
|
|
ecef9f5 |
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 0.27-2
|
|
|
ecef9f5 |
- Round Module::Build version to 2 digits
|
|
|
ecef9f5 |
|
|
|
bd9b14e |
* Fri Mar 23 2012 Paul Howarth <paul@city-fan.org> - 0.27-1
|
|
|
bd9b14e |
- Update to 0.27
|
|
|
bd9b14e |
- Removed Test::NoWarnings from a t/23_universal_require.t because it upsets
|
|
|
bd9b14e |
the (manual) plan if the tests are skipped
|
|
|
bd9b14e |
|
|
|
918b8ae |
* Thu Mar 22 2012 Paul Howarth <paul@city-fan.org> - 0.25-1
|
|
|
918b8ae |
- Update to 0.25
|
|
|
918b8ae |
- Autogenerate the grammar during ./Build (CPAN RT#74879)
|
|
|
918b8ae |
- Added $VERSION to into Module::ExtractUse::Grammar (CPAN RT#75342)
|
|
|
918b8ae |
- Require at least version 1.967009 of Parse::RecDescent (CPAN RT#75130)
|
|
|
918b8ae |
- Fix typos (CPAN RT#75115)
|
|
|
918b8ae |
- Switched to Dist::Zilla
|
|
|
918b8ae |
- Drop grammar recompilation, no longer needed
|
|
|
918b8ae |
- BR: perl(Test::More)
|
|
|
918b8ae |
- Bump perl(Module::Build) version requirement to 0.3601
|
|
|
918b8ae |
- Bump perl(Parse::RecDescent) version requirement to 1.967009
|
|
|
918b8ae |
- Drop perl(Pod::Strip) and perl(Test::Deep) version requirements
|
|
|
918b8ae |
- Package manpage for Module::ExtractUse::Grammar
|
|
|
918b8ae |
|
|
|
275b725 |
* Mon Mar 19 2012 Paul Howarth <paul@city-fan.org> - 0.24-3
|
|
|
275b725 |
- Recompile the grammar to work with the new Parse::RecDescent (CPAN RT#74879)
|
|
|
275b725 |
|
|
|
5e3161d |
* Tue Mar 6 2012 Paul Howarth <paul@city-fan.org> - 0.24-2
|
|
|
5e3161d |
- BR: perl(Carp) and perl(version)
|
|
|
5e3161d |
- Don't use macros for commands
|
|
|
5e3161d |
- Make %%files list more explicit
|
|
|
5e3161d |
- Package example
|
|
|
5e3161d |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
5e3161d |
|
|
|
671c144 |
* Mon Feb 13 2012 Daniel P. Berrange <berrange@redhat.com> - 0.24-1
|
|
|
671c144 |
- Update to 0.24, removing previous grammar hack (rhbz #789976)
|
|
|
671c144 |
|
|
|
f4492af |
* Sat Feb 4 2012 Daniel P. Berrange <berrange@redhat.com> - 0.23-11
|
|
|
f4492af |
- Regenerate grammar for new Parse::RecDescent (rhbz#786849)
|
|
|
f4492af |
|
|
|
a881c8e |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-10
|
|
|
a881c8e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a881c8e |
|
|
|
9220ac1 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.23-9
|
|
|
9220ac1 |
- Perl mass rebuild
|
|
|
9220ac1 |
|
|
|
e8053ae |
* Thu Mar 17 2011 Paul Howarth <paul@city-fan.org> - 0.23-8
|
|
|
e8053ae |
- Reinstate %%check
|
|
|
e8053ae |
|
|
|
780164f |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-7
|
|
|
780164f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
780164f |
|
|
|
2d84645 |
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.23-6
|
|
|
e8053ae |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
2d84645 |
|
|
|
ccdea86 |
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.23-5
|
|
|
7ddb186 |
- Mass rebuild with perl-5.12.0
|
|
|
ccdea86 |
|
|
|
4456391 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.23-4
|
|
|
4456391 |
- rebuild against perl 5.10.1
|
|
|
4456391 |
|
|
|
81765ee |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-3
|
|
|
81765ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
81765ee |
|
|
|
3aca145 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-2
|
|
|
3aca145 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3aca145 |
|
|
|
e3822d9 |
* Fri Sep 5 2008 Daniel P. Berrange <berrange@redhat.com> - 0.23-1
|
|
|
e3822d9 |
- Update to 0.23 release
|
|
|
e3822d9 |
|
|
|
fc1ac95 |
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.22-2
|
|
|
fc1ac95 |
- rebuild for new perl
|
|
|
fc1ac95 |
|
|
|
23f55a2 |
* Fri Dec 21 2007 Daniel P. Berrange <berrange@redhat.com> 0.22-1.fc9
|
|
|
23f55a2 |
- Specfile autogenerated by cpanspec 1.73.
|