Adapt to changes in SQL-Abstract-1.77

epel9
Petr Písař 11 years ago
parent 14999c3525
commit c340f548e8

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

Loading…
Cancel
Save