0.082843 bump

epel9
Jitka Plesnikova 3 years ago
parent 1255c417f3
commit ff8c5e2ac5

1
.gitignore vendored

@ -17,3 +17,4 @@ DBIx-Class-0.08120.tar.gz
/DBIx-Class-0.082840.tar.gz /DBIx-Class-0.082840.tar.gz
/DBIx-Class-0.082841.tar.gz /DBIx-Class-0.082841.tar.gz
/DBIx-Class-0.082842.tar.gz /DBIx-Class-0.082842.tar.gz
/DBIx-Class-0.082843.tar.gz

@ -1,76 +0,0 @@
diff -up DBIx-Class-0.082842/t/60core.t.sqlite DBIx-Class-0.082842/t/60core.t
--- DBIx-Class-0.082842/t/60core.t.sqlite 2022-03-30 10:49:17.774464160 +0200
+++ DBIx-Class-0.082842/t/60core.t 2022-03-30 10:55:57.400750864 +0200
@@ -3,6 +3,7 @@ use warnings;
use Test::More;
use Test::Exception;
+use Test::Deep;
use Test::Warn;
use lib qw(t/lib);
use DBICTest ':DiffSQL';
@@ -387,7 +388,7 @@ lives_ok (sub { my $newlink = $newbook->
$schema->source("Artist")->column_info_from_storage(1);
$schema->source("Artist")->{_columns_info_loaded} = 0;
- is_deeply (
+ cmp_deeply (
$schema->source('Artist')->columns_info,
{
artistid => {
@@ -410,7 +411,7 @@ lives_ok (sub { my $newlink = $newbook->
size => 100
},
rank => {
- data_type => "integer",
+ data_type => re(qr/^integer$/i),
default_value => 13,
is_nullable => 0,
size => undef
@@ -421,7 +422,7 @@ lives_ok (sub { my $newlink = $newbook->
ok($schema->source("Artist")->{_columns_info_loaded} == 1, 'Columns info loaded flag set');
- is_deeply (
+ cmp_deeply (
$schema->source('Artist')->columns_info([qw/artistid rank/]),
{
artistid => {
@@ -431,7 +432,7 @@ lives_ok (sub { my $newlink = $newbook->
size => undef
},
rank => {
- data_type => "integer",
+ data_type => re(qr/^integer$/i),
default_value => 13,
is_nullable => 0,
size => undef
diff -up DBIx-Class-0.082842/t/64db.t.sqlite DBIx-Class-0.082842/t/64db.t
--- DBIx-Class-0.082842/t/64db.t.sqlite 2022-03-30 10:56:26.658928674 +0200
+++ DBIx-Class-0.082842/t/64db.t 2022-03-30 10:57:52.709451624 +0200
@@ -2,6 +2,7 @@ use strict;
use warnings;
use Test::More;
+use Test::Deep;
use lib qw(t/lib);
use DBICTest;
@@ -48,7 +49,7 @@ is_deeply (
);
{
- is_deeply (
+ cmp_deeply (
get_storage_column_info ($schema->storage, 'artist', qw/size/),
{
'artistid' => {
@@ -60,7 +61,7 @@ is_deeply (
'is_nullable' => 1,
},
'rank' => {
- 'data_type' => 'integer',
+ 'data_type' => re(qr/^integer$/i),
'is_nullable' => 0,
'default_value' => '13',
},

@ -1,15 +1,13 @@
Name: perl-DBIx-Class Name: perl-DBIx-Class
Summary: Extensible and flexible object <-> relational mapper Summary: Extensible and flexible object <-> relational mapper
Version: 0.082842 Version: 0.082843
Release: 9%{?dist} Release: 1%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
Source0: https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/DBIx-Class-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/DBIx-Class-%{version}.tar.gz
URL: https://metacpan.org/release/DBIx-Class URL: https://metacpan.org/release/DBIx-Class
# Do not use /usr/bin/env in shell bangs, upstream does not agree # Do not use /usr/bin/env in shell bangs, upstream does not agree
# (see Changes) # (see Changes)
Patch0: DBIx-Class-0.082840-Do-not-use-usr-bin-env-in-shell-bangs.patch Patch0: DBIx-Class-0.082840-Do-not-use-usr-bin-env-in-shell-bangs.patch
# Fix the test failure with SQLite 3.38.0
Patch1: DBIx-Class-0.082842-Fix-test-failure-with-SQLite-3.38.0.patch
BuildArch: noarch BuildArch: noarch
# Build # Build
BuildRequires: coreutils BuildRequires: coreutils
@ -96,7 +94,6 @@ BuildRequires: perl(Time::HiRes)
BuildRequires: perl(Try::Tiny) BuildRequires: perl(Try::Tiny)
# Tests only # Tests only
BuildRequires: perl(Benchmark) BuildRequires: perl(Benchmark)
BuildRequires: perl(Class::Accessor::Fast)
BuildRequires: perl(Class::DBI) BuildRequires: perl(Class::DBI)
BuildRequires: perl(Class::DBI::Column) BuildRequires: perl(Class::DBI::Column)
BuildRequires: perl(Class::DBI::Plugin::DeepAbstractSearch) BuildRequires: perl(Class::DBI::Plugin::DeepAbstractSearch)
@ -269,7 +266,6 @@ 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
chmod -c +x script/* chmod -c +x script/*
%build %build
@ -296,6 +292,9 @@ make test
%{_mandir}/man[13]/* %{_mandir}/man[13]/*
%changelog %changelog
* Tue May 17 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.082843-1
- 0.082843 bump
* Wed Mar 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.082842-9 * Wed Mar 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.082842-9
- Fix the test failure with SQLite 3.38.0 (bz#2069128) - Fix the test failure with SQLite 3.38.0 (bz#2069128)

@ -1 +1 @@
SHA512 (DBIx-Class-0.082842.tar.gz) = c8d7149536d5c4ebbfc866b0c143454ead37fda5ddb8fa43dfe2d56c2169be0fd8a46ec3b6c7cd22cb1c93504056d5803b5250ac151507ef4205fe53495e8f18 SHA512 (DBIx-Class-0.082843.tar.gz) = 395752fd2568580c7a35598c4e2a30210e6ee5dc382dc56338ca6e20effa083e2bb31ebe6c715f2bd421699de10570551b1c4c25772c0f8b071f64787b041d7c

Loading…
Cancel
Save