]> git.pld-linux.org Git - packages/perl-Class-WhiteHole.git/blame - perl-Class-WhiteHole.spec
- massive cleaning
[packages/perl-Class-WhiteHole.git] / perl-Class-WhiteHole.spec
CommitLineData
f97423a5 1%include /usr/lib/rpm/macros.perl
2%define pdir Class
3%define pnam WhiteHole
0a7af6eb 4Summary: %{pdir}::%{pnam} - prevent from inheriting AUTOLOAD
5Summary(pl): %{pdir}::%{pnam} - ochrona przed dziedziczeniem AUTOLOAD
f97423a5 6Name: perl-Class-WhiteHole
7Version: 0.03
8Release: 1
9License: GPL/Artistic
10Group: Development/Languages/Perl
11Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12BuildRequires: perl >= 5
13BuildRequires: rpm-perlprov >= 3.0.3-16
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Its possible to accidentally inherit an AUTOLOAD method. Often this
19will happen if a class somewhere in the chain uses AutoLoader or defines
20one of their own. This can lead to confusing error messages when method
21lookups fail.
22
23Sometimes you want to avoid this accidental inheritance. In that case,
24inherit from Class::WhiteHole. All unhandled methods will produce normal
25Perl error messages.
26
27%description -l pl
28