Blob Blame History Raw
Name:           perl-DBIx-Class-EncodedColumn
Version:        0.00002
Release:        3%{?dist}
Summary:        Automatically encode columns
License:        GPL+ or Artistic
Group:          Development/Libraries
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(DBD::SQLite)
BuildRequires:  perl(DBIx::Class) >= 0.06002
BuildRequires:  perl(Digest::SHA)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(SQL::Translator) >= 0.08000
BuildRequires:  perl(Sub::Name) >= 0.04
BuildRequires:  perl(Test::More)
# Missing BRs in perl-SQL-Translator (BZ #499768)
BuildRequires:  perl(Class::Accessor::Fast)
BuildRequires:  perl(Class::Data::Inheritable)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# undetected
Requires:       perl(DBIx::Class)

This DBIx::Class component can be used to automatically encode a column's
contents whenever the value of that column is set.

%setup -q -n DBIx-Class-EncodedColumn-%{version}

# no Crypt::OpenPGP in Fedora
rm lib/DBIx/Class/EncodedColumn/Crypt/

%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}



find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

make test


%doc Changes README

* Sat Jul 25 2009 Fedora Release Engineering <> - 0.00002-3
- Rebuilt for

* Fri Jun 26 2009 Tom "spot" Callaway <> 0.00002-2
- fix duplicate directory ownership (perl-DBIx-Class owns %{perl_vendorlib}/DBIx/Class/)

* Mon May 04 2009 Iain Arnell <> 0.00002-1
- Specfile autogenerated by cpanspec 1.77.
- Disable support for OpenPGP since it's not available in Fedora
- Additional BRs due to BZ #499768