573b83
Name:           perl-DBIx-Class-EncodedColumn
7fdfdb
Version:        0.00019
9eebbb
Release:        1%{?dist}
573b83
Summary:        Automatically encode columns
573b83
License:        GPL+ or Artistic
d2fa97
URL:            https://metacpan.org/release/DBIx-Class-EncodedColumn
d2fa97
Source0:        https://cpan.metacpan.org/authors/id/W/WR/WREIS/DBIx-Class-EncodedColumn-%{version}.tar.gz
573b83
BuildArch:      noarch
Petr Šabata 7f6cb6
# Build
9eebbb
BuildRequires:  coreutils
2d21f3
BuildRequires:  perl-generators
9eebbb
BuildRequires:  perl-interpreter
274d73
BuildRequires:  perl(Module::Build::Tiny) >= 0.034
Petr Šabata 7f6cb6
# Runtime
9eebbb
BuildRequires:  perl(base)
24e46a
BuildRequires:  perl(Crypt::Eksblowfish::Bcrypt)
Petr Šabata 7f6cb6
# Unused BuildRequires:  perl(Crypt::OpenPGP)
Petr Šabata 7f6cb6
BuildRequires:  perl(DBIx::Class)
Petr Šabata 7f6cb6
BuildRequires:  perl(Digest)
573b83
BuildRequires:  perl(Digest::SHA)
Petr Šabata 7f6cb6
BuildRequires:  perl(Encode)
9eebbb
BuildRequires:  perl(strict)
Petr Šabata 7f6cb6
BuildRequires:  perl(Sub::Name)
9eebbb
BuildRequires:  perl(warnings)
Petr Šabata 7f6cb6
# Tests only
9eebbb
BuildRequires:  perl(DateTime::Format::SQLite)
Petr Šabata 7f6cb6
BuildRequires:  perl(DBD::SQLite)
9eebbb
BuildRequires:  perl(DBIx::Class::Core)
9eebbb
BuildRequires:  perl(DBIx::Class::Schema)
9eebbb
BuildRequires:  perl(DBIx::Class::TimeStamp)
a00d16
BuildRequires:  perl(Dir::Self)
9eebbb
BuildRequires:  perl(File::Spec)
Petr Šabata 7f6cb6
BuildRequires:  perl(File::Temp)
274d73
BuildRequires:  perl(lib)
24e46a
BuildRequires:  perl(Test::Exception)
573b83
BuildRequires:  perl(Test::More)
Petr Šabata 7f6cb6
BuildRequires:  perl(utf8)
Petr Šabata 7f6cb6
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Petr Šabata 7f6cb6
Requires:       perl(Digest::SHA)
573b83
a00d16
%{?perl_default_filter}
a00d16
573b83
%description
573b83
This DBIx::Class component can be used to automatically encode a column's
573b83
contents whenever the value of that column is set.
573b83
573b83
%prep
274d73
%setup -q -n DBIx-Class-EncodedColumn-%{version}
Petr Šabata 7f6cb6
# Crypt::OpenPGP is not available in Fedora.
Petr Šabata 7f6cb6
# It cannot be packaged because its dependency, Crypt::RIPEMD160,
Petr Šabata 7f6cb6
# cannot be packaged.  See rhbz#182235.
573b83
rm lib/DBIx/Class/EncodedColumn/Crypt/OpenPGP.pm
573b83
573b83
%build
274d73
perl Build.PL --installdirs=vendor
274d73
./Build
573b83
573b83
%install
274d73
./Build install --destdir=%{buildroot} --create_packlist=0
Petr Šabata 7f6cb6
%{_fixperms} %{buildroot}/*
573b83
573b83
%check
274d73
unset AUTHOR_TESTING
274d73
./Build test
573b83
573b83
%files
274d73
%license LICENSE
573b83
%doc Changes README
0c08e9
%{perl_vendorlib}/DBIx/Class/*
573b83
%{_mandir}/man3/*
573b83
573b83
%changelog
7fdfdb
* Fri Sep 20 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.00019-1
7fdfdb
- 0.00019 bump
7fdfdb
274d73
* Tue Sep 17 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.00018-1
274d73
- 0.00018 bump
274d73
9eebbb
* Wed Sep 04 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.00017-1
9eebbb
- 0.00017 bump
9eebbb
066e5e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.00016-2
066e5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
066e5e
ae5bb7
* Wed Jun 12 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.00016-1
ae5bb7
- 0.00016 bump
ae5bb7
81b789
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.00015-11
81b789
- Perl 5.30 rebuild
81b789
4c33c3
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.00015-10
4c33c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4c33c3
206bf1
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.00015-9
206bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
206bf1
61436e
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.00015-8
61436e
- Perl 5.28 rebuild
61436e
2f3d02
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.00015-7
2f3d02
- Escape macros in %%changelog
2f3d02
946569
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.00015-6
946569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
946569
570177
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.00015-5
570177
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
570177
89b609
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.00015-4
89b609
- Perl 5.26 rebuild
89b609
82093d
* Fri May 26 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.00015-3
82093d
- Fix building on Perl without '.' in @INC
82093d
9a6c95
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.00015-2
9a6c95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9a6c95
2d21f3
* Thu Jun 02 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.00015-1
2d21f3
- 0.00015 bump
2d21f3
ed2e08
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.00013-5
ed2e08
- Perl 5.24 rebuild
ed2e08
545e2b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.00013-4
545e2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
545e2b
453de6
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00013-3
453de6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
453de6
e8fe1a
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.00013-2
e8fe1a
- Perl 5.22 rebuild
e8fe1a
Petr Šabata 7f6cb6
* Wed Dec 10 2014 Petr Šabata <contyk@redhat.com> - 0.00013-1
Petr Šabata 7f6cb6
- 0.00013 bump
Petr Šabata 7f6cb6
f19202
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.00011-9
f19202
- Perl 5.20 rebuild
f19202
91feeb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-8
91feeb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
91feeb
0c7e73
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-7
0c7e73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0c7e73
6a02f9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-6
6a02f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6a02f9
a3d55a
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-5
a3d55a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a3d55a
f819cc
* Sun Jul 01 2012 Petr Pisar <ppisar@redhat.com> - 0.00011-4
f819cc
- Perl 5.16 rebuild
f819cc
ad7cc9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-3
ad7cc9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ad7cc9
Petr Sabata 8d7e33
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.00011-2
Petr Sabata 8d7e33
- Perl mass rebuild
Petr Sabata 8d7e33
a63f3c
* Wed Apr 20 2011 Iain Arnell <iarnell@gmail.com> 0.00011-1
a63f3c
- update to latest upstream version
a63f3c
- clean up spec for modern rpmbuild
a63f3c
c2c5ff
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00010-4
c2c5ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c2c5ff
Marcela Mašláňová 7cbb91
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.00010-3
Marcela Mašláňová 7cbb91
- 661697 rebuild for fixing problems with vendorach/lib
Marcela Mašláňová 7cbb91
c16ec4
* Sun Aug 29 2010 Iain Arnell <iarnell@gmail.com> 0.00010-2
c16ec4
- disable Module::AutoInstall
c16ec4
24e46a
* Sun Aug 29 2010 Iain Arnell <iarnell@gmail.com> 0.00010-1
24e46a
- update to latest upstream
24e46a
- new BR perl(Crypt::Eksblowfish::Bcrypt)
24e46a
- new BR perl(Test::Exception)
24e46a
c25f4c
* Thu May 20 2010 Iain Arnell <iarnell@gmail.com> 0.00009-1
c25f4c
- update to latest upstream
c25f4c
a00d16
* Sat May 01 2010 Iain Arnell <iarnell@gmail.com> 0.00008-1
a00d16
- update to latest upstream
a00d16
- use perl_default_filter and DESTDIR
a00d16
- BR perl(Dir::Self)
a00d16
d5f90a
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.00006-2
d5f90a
- Mass rebuild with perl-5.12.0
d5f90a
fe50d9
* Sun Jan 17 2010 Iain Arnell <iarnell@gmail.com> 0.00006-1
fe50d9
- update to latest upstream version
fe50d9
7be7d3
* Mon Jan 11 2010 Iain Arnell <iarnell@gmail.com> 0.00005-3
7be7d3
- fix source0 location (was BADURL)
7be7d3
5f7180
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.00005-2
5f7180
- rebuild against perl 5.10.1
5f7180
85cc9c
* Sun Oct 18 2009 Iain Arnell <iarnell@gmail.com> 0.00005-1
85cc9c
- update to latest upstream
85cc9c
c349e6
* Sat Sep 05 2009 Iain Arnell <iarnell@gmail.com> 0.00004-1
c349e6
- update to latest upstream (minor documentation fix)
c349e6
65dde0
* Wed Sep 02 2009 Iain Arnell <iarnell@gmail.com> 0.00003-1
65dde0
- update to latest upstream (copyright notice added)
65dde0
- remove temporary BRs due to BZ #499768
65dde0
3476d7
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00002-3
3476d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3476d7
0c08e9
* Fri Jun 26 2009 Tom "spot" Callaway <tcallawa@redhat.com> 0.00002-2
2f3d02
- fix duplicate directory ownership (perl-DBIx-Class owns %%{perl_vendorlib}/DBIx/Class/)
0c08e9
573b83
* Mon May 04 2009 Iain Arnell <iarnell@gmail.com> 0.00002-1
573b83
- Specfile autogenerated by cpanspec 1.77.
573b83
- Disable support for OpenPGP since it's not available in Fedora
573b83
- Additional BRs due to BZ #499768