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