File perl-Carp-Clan.spec of Package perl-Carp-Clan

#
# spec file for package perl-Carp-Clan (Version 6.00)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Carp-Clan
BuildRequires:  perl-Test-Exception
Version:        6.00
Release:        41
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License; GPL v2 or later
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 errors. 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 Feb 25 2008 anicka@suse.cz
- update to 6.00
  * Removed the circular dependency on Object::Deadly. It was only
  used for testing and would only succeed if you already had O::D
  installed.
* 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
openSUSE Build Service is sponsored by