diff --git a/perl-DBIx-Class.spec b/perl-DBIx-Class.spec index a654ffb..1f50d19 100644 --- a/perl-DBIx-Class.spec +++ b/perl-DBIx-Class.spec @@ -1,13 +1,16 @@ Name: perl-DBIx-Class Summary: Extensible and flexible object <-> relational mapper Version: 0.08250 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/DBIx-Class-%{version}.tar.gz # Adapt to new sqlite-3.8.2 exception messages, bug #1085336, CPAN RT#91947, # in upstream version 0.08260 Patch0: DBIx-Class-0.08250-SQLite-changed-their-exception-text-again.patch +# Adapt to changes in SQL-Abstract-1.77, bug #1099741, CPAN RT#92331, +# in upstream version 0.08260 +Patch1: DBIx-Class-0.08250-Fix-ridiculous-regex-anchor-mistake-from-66137dffe.patch URL: http://search.cpan.org/dist/DBIx-Class/ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch @@ -39,7 +42,7 @@ BuildRequires: perl(MRO::Compat) >= 0.12 BuildRequires: perl(Package::Stash) >= 0.28 BuildRequires: perl(Path::Class) >= 0.18 BuildRequires: perl(Scope::Guard) >= 0.03 -BuildRequires: perl(SQL::Abstract) >= 1.73 +BuildRequires: perl(SQL::Abstract) >= 1.77 BuildRequires: perl(strictures) >= 1.003001 BuildRequires: perl(Sub::Name) >= 0.04 BuildRequires: perl(Test::Builder) >= 0.94 @@ -65,7 +68,7 @@ Requires: perl(Module::Find) >= 0.06 Requires: perl(MRO::Compat) >= 0.09 Requires: perl(Path::Class) >= 0.18 Requires: perl(Scope::Guard) >= 0.03 -Requires: perl(SQL::Abstract) >= 1.72 +Requires: perl(SQL::Abstract) >= 1.77 Requires: perl(Sub::Name) >= 0.04 ### Additional generated deps. These deps are regenerated from scratch every @@ -138,6 +141,7 @@ DISTINCT, GROUP BY and HAVING support. %prep %setup -q -n DBIx-Class-%{version} %patch0 -p1 +%patch1 -p1 find t/ -type f -exec perl -pi -e 's|\r||; s|^#!perl|#!%{__perl}|' {} + find . -type f -exec chmod -c -x {} + @@ -185,6 +189,9 @@ make test %changelog +* Wed May 21 2014 Petr Pisar - 0.08250-4 +- Adapt to changes in SQL-Abstract-1.77 (bug #1099741) + * Wed Apr 09 2014 Petr Pisar - 0.08250-3 - Adapt to new sqlite-3.8.2 exception messages (bug #1085336)