Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37045025
en ru br
Репозитории ALT
S:0.11-alt1.1.1
5.1: 0.11-alt1.1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-DBIx-Class-SingletonRows

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin