3 Summary: Devel::Carp - miscleanous error handling functions
4 Summary(pl.UTF-8): Devel::Carp - różne funkcje do obsługi błędów
9 Group: Development/Languages/Perl
10 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 # Source0-md5: e5377daa28ee1981dcbc2a074bf7a6ef
12 URL: http://search.cpan.org/dist/Devel-Carp/
13 BuildRequires: perl-devel >= 1:5.8.0
14 BuildRequires: rpm-perlprov >= 4.1-13
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _noautoprov 'perl(Carp)'
21 The Carp routines are useful in your own modules because they act like
22 die() or warn(), but report where the error was in the code they were
23 called from. Thus if you have a routine Foo() that has a carp() in it,
24 then the carp() will report the error as occurring where Foo() was
25 called, not where carp() was called.
27 %description -l pl.UTF-8
28 Funkcje Carp są przydatne we własnych modułach, ponieważ zachowują się
29 jak die() i warn(), ale zgłaszają, że błąd wystąpił w kodzie, z
30 którego zostały wywołane. W ten sposób, jeśli jest funkcja Foo(),
31 która zawiera carp(), to carp() zgłosi błąd jako występujący w
32 miejscu, z którego została wywołana funkcja Foo(), a nie carp().
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{perl_vendorlib}/Devel/Carp.pm