]>
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 |
4ce2de5d AG |
7 | Version: 0.04 |
8 | Release: 1 | |
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 |
4ce2de5d | 12 | # Source0-md5: 43b986ad7d5d186a9a43d2d69a2ef327 |
f4e1ed24 | 13 | BuildRequires: perl-devel >= 5 |
ec3bf42a | 14 | BuildRequires: rpm-perlprov >= 4.1-13 |
f97423a5 | 15 | BuildArch: noarch |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Its possible to accidentally inherit an AUTOLOAD method. Often this | |
20 | will happen if a class somewhere in the chain uses AutoLoader or defines | |
21 | one of their own. This can lead to confusing error messages when method | |
22 | lookups fail. | |
23 | ||
24 | Sometimes you want to avoid this accidental inheritance. In that case, | |
25 | inherit from Class::WhiteHole. All unhandled methods will produce normal | |
26 | Perl error messages. | |
27 | ||
28 | %description -l pl | |
29 |