3 %bcond_without tests # do not perform "make test"
7 Summary: Carp::Clan - report errors from perspective of caller of a "clan" of modules
8 Summary(pl.UTF-8): Carp::Clan - zgłaszanie błędów z perspektywy wywołującego "klan" modułów
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Carp/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 34fe04102374516ef7a105375b95ffde
17 URL: http://search.cpan.org/dist/Carp-Clan/
18 BuildRequires: perl-devel >= 1:5.8.0
19 %{?with_tests:BuildRequires: perl-Test-Simple >= 0.40}
20 BuildRequires: rpm-perlprov >= 4.1-13
21 Conflicts: perl-Bit-Vector < 6.4
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This module reports errors from the perspective of the caller of a
27 "clan" of modules, similar to "Carp.pm" itself.
29 %description -l pl.UTF-8
30 Moduł zgłasza błędy z perspektywy wykonywującego moduł, podobnie jak
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/Carp/Clan.pm
56 %{_mandir}/man3/Carp::Clan.3pm*