]> git.pld-linux.org Git - packages/perl-Class-WhiteHole.git/blame - perl-Class-WhiteHole.spec
- mass commit: cosmetics (removed trailing white spaces)
[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
ec3bf42a 8Release: 2
f97423a5 9License: GPL/Artistic
10Group: Development/Languages/Perl
7dc634aa 11Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
112097c1 12# Source0-md5: c14e55c571adbf1cd181aae61d99ab9e
f4e1ed24 13BuildRequires: perl-devel >= 5
ec3bf42a 14BuildRequires: rpm-perlprov >= 4.1-13
f97423a5 15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Its possible to accidentally inherit an AUTOLOAD method. Often this
20will happen if a class somewhere in the chain uses AutoLoader or defines
21one of their own. This can lead to confusing error messages when method
22lookups fail.
23
24Sometimes you want to avoid this accidental inheritance. In that case,
25inherit from Class::WhiteHole. All unhandled methods will produce normal
26Perl error messages.
27
28%description -l pl
29