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