Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37499683
en ru br
ALT Linux repos
S:0.11-alt1.1.1
5.0: 0.11-alt1.1

Group :: Development/Perl
RPM: perl-DBIx-Class-SingletonRows

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

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

%define module DBIx-Class-SingletonRows
%define m_distro DBIx-Class-SingletonRows
%define m_name DBIx-Class-SingletonRows
%define m_author_id DCANTRELL
%define _enable_test 1

Name: perl-DBIx-Class-SingletonRows
Version: 0.11
Release: alt1.1.1

Summary: make database rows returned by DBIx::Class

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

Packager: Michael Bochkaryov <misha at altlinux.ru>

BuildArch: noarch
Source: http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/%m_distro-%version.tar.gz

# Automatically added by buildreq on Mon Jun 30 2008

BuildRequires: perl-DBD-SQLite perl-DBIx-Class perl-Log-Agent perl-Test-Pod

%description
DBIx::Class::SingletonRows wraps around inflate_result() method of DBIx::Class::Row
class so that it always returns singletons.

Sample:

package MyProject::DB::Employee;
use base qw(DBIx::Class);
__PACKAGE__->load_components(qw(SingletonRows Core));
__PACKAGE__->table('employees');
...

%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build

%install
%perl_vendor_install

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

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin