perl-Carp-Clan/perl-Carp-Clan.spec

93 lines
2.6 KiB
RPMSpec

#
# spec file for package perl-Carp-Clan (Version 5.9)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Carp-Clan
BuildRequires: perl-Test-Exception
Version: 5.9
Release: 1
Requires: perl = %{perl_version}
Autoreqprov: on
Group: Development/Libraries/Perl
License: Artistic License, GNU General Public License (GPL)
URL: http://cpan.org/modules/by-module/Carp/
Summary: Report Errors from the Perspective of the Caller of a "Clan" of Modules
Source: Carp-Clan-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module reports errors from the perspective of the caller of a
"clan" of modules, similar to "Carp.pm" itself. But instead of giving
it a number of levels to skip on the calling stack, you give it a
pattern to characterize the package names of the "clan" of modules that
should never be blamed for any error. It makes these modules stick
together like a "clan" and any error that occurs will be blamed on the
"outsider" script or modules not belonging to this "clan".
Authors:
--------
Steffen Beyer <sb@engelschall.com>
%prep
%setup -q -n Carp-Clan-%{version}
%build
perl Makefile.PL
make
%check
make test
%install
%perl_make_install
%perl_process_packlist
for i in `ls *.txt`; do mv $i `basename $i .txt`; done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Artistic Changes GNU_GPL README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Carp
%{perl_vendorarch}/auto/Carp
/var/adm/perl-modules/%{name}
%changelog
* Mon Jun 18 2007 - anicka@suse.cz
- update to 5.9
* Test::Exceptions is mandatory for testing.
* bugfix
* Wed Dec 13 2006 - anicka@suse.cz
- update to 5.8
* Stop testing that ->VERSION is a specific thing.
* Thu Oct 05 2006 - anicka@suse.cz
- update to 5.7
* Stop PAUSE from attempting to index DB package.
* test fixes
* bugfixes
* Use named lexicals in diag().
* Use exists &foo/defined &foo instead of symbol table hackery.
* Changed f() so it accepts 1st parameter of
carp/cluck/confess/croak instead of 1/2/3/4.
* Renamed files.
* Mon Sep 25 2006 - anicka@suse.cz
- update to 5.4
* Made Carp::Clan safe for overloaded objects.
* Added diag() to 01_..._carp.t
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 01 2005 - mjancar@suse.cz
- initial version 5.3