#
# Conditional build:
%bcond_with tests # perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir DBIx
%define pnam AbstractLite
+%include /usr/lib/rpm/macros.perl
Summary: DBIx::AbstractLite - lightweight DBI SQL abstraction in a hybrid interface
Summary(pl.UTF-8): DBIx::AbstractLite - lekka abstrakcja DBI SQL w hybrydowym interfejsie
Name: perl-DBIx-AbstractLite
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: a45ded7d5a4b80e54f6add8c161a3f42
+URL: http://search.cpan.org/dist/DBIx-AbstractLite/
BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
BuildRequires: perl(Error::Dumb)
%endif
-BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-This module is based on DBIx::Abstract, but is much simpler. It also
+This module is based on DBIx::Abstract, but is much simpler. It also
doesn't deviate from the DBI interface as much as DBIx::Abstract does.
The main similarity between DBIx::AbstractLite and DBIx::Abstract is
-in the select method. Unlike Abstract, AbstractLite is not 100%%
+in the select method. Unlike Abstract, AbstractLite is not 100%%
abstract in that it still allows conventional access to the DBI
interface, using plain SQL and the DBI statement handle methods.