Drop explicit dependency on core module perl(Exporter)

In the package review, the reviewer noted the explicit dependency on
perl(Exporter), added because of a "use base Exporter" construct in
the code that rpm's automatic dependency finder doesn't find, and asked
if that wasn't a bit redundant given that Exporter is a core module.
The explicit dependency has been removed on the basis that it is
extremely unlikely that perl(Exporter) will ever be split from the main
perl package and hence the explicit dependency is indeed redundant.

Ref: https://bugzilla.redhat.com/show_bug.cgi?id=656408
epel9
Paul Howarth 14 years ago
parent 1bb5cc6369
commit 3a84c5683a

@ -1,6 +1,6 @@
Name: perl-Class-Load
Version: 0.06
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A working (require "Class::Name") and more
Group: Development/Libraries
License: GPL+ or Artistic
@ -12,7 +12,7 @@ BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Exporter)
# Also requires core module perl(Exporter) via a "use base" construct
%description
require EXPR only accepts Class/Name.pm style module names, not Class::Name.
@ -54,6 +54,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/Class::Load.3pm*
%changelog
* Tue Dec 21 2010 Paul Howarth <paul@city-fan.org> - 0.06-3
- Drop explicit dependency on core module perl(Exporter) (#656408)
* Tue Nov 23 2010 Paul Howarth <paul@city-fan.org> - 0.06-2
- Sanitize spec for Fedora submission

Loading…
Cancel
Save