Package perl-Exception-Class-DBI: Specfile

#
#   - Exception::Class::DBI -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       --debug --version 1.00 Exception::Class::DBI
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Exception-Class-DBI
%define m_distro Exception-Class-DBI
%define m_name Exception::Class::DBI
%define m_author_id unknown
%define _enable_test 1
%def_without test

Name: perl-Exception-Class-DBI
Version: 1.04
Release: alt1

Summary: %m_name - DBI Exception objects

License: Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/Exception-Class-DBI/

Packager: Michael Bochkaryov <misha@altlinux.ru>

BuildArch: noarch
Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/%{module}-%{version}.tar.gz

# Automatically added by buildreq on Tue Jul 29 2008 (-bi)
BuildRequires: perl-DBI perl-Exception-Class perl-Module-Build perl-Test-Pod perl-version

%description
This module offers a set of DBI-specific exception classes. They inherit from
Exception::Class, the base class for all exception objects created by the
Exception::Class module from the CPAN. Exception::Class::DBI itself offers a
single class method, handler(), that returns a code reference appropriate for
passing to the DBI HandleError attribute.

The exception classes created by Exception::Class::DBI are designed to be
thrown in certain DBI contexts; the code reference returned by handler() and
passed to the DBI HandleError attribute determines the context and throws the
apopropriate exception.

Each of the Exception::Class::DBI classes offers a set of object accessor
methods in addition to those provided by Exception::Class. These can be used to
output detailed diagnostic information in the event of an exception.

%prep
%setup -q -n %{module}-%{version}

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/*
%doc Changes README*
%exclude %perl_vendor_archlib

%changelog
* Sat Jun 01 2019 Igor Vlasenko <viy@altlinux.ru> 1.04-alt1
- automated CPAN update

* Thu Sep 29 2011 Igor Vlasenko <viy@altlinux.ru> 1.01-alt1
- automated CPAN update

* Mon Nov 22 2010 Igor Vlasenko <viy@altlinux.ru> 1.00-alt1.1.1
- repair after perl 5.12 upgrade using girar-nmu

* Mon Oct 06 2008 Igor Vlasenko <viy@altlinux.ru> 1.00-alt1.1
- NMU for unknown reason:
  the person above was too neglectant to add --changelog "- NMU: <reason>" option.

* Tue Jul 29 2008 Michael Bochkaryov <misha@altlinux.ru> 1.00-alt1
- first build for ALT Linux Sisyphus