From 181327f5416952403607f1674b407e39431afab8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Oct 2021 08:18:22 +0200 Subject: update to 1.5.1 add patch for test suite with doctrine/dbal v3 from https://github.com/doctrine/data-fixtures/pull/370 --- php-doctrine-datafixtures.spec | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'php-doctrine-datafixtures.spec') diff --git a/php-doctrine-datafixtures.spec b/php-doctrine-datafixtures.spec index 0c88bc4..45e3230 100644 --- a/php-doctrine-datafixtures.spec +++ b/php-doctrine-datafixtures.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-doctrine-datafixtures # -# Copyright (c) 2013-2019 Shawn Iwinski +# Copyright (c) 2013-2021 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -12,8 +12,8 @@ %global github_owner doctrine %global github_name data-fixtures -%global github_version 1.5.0 -%global github_commit 51d3d4880d28951fff42a635a2389f8c63baddc5 +%global github_version 1.5.1 +%global github_commit f18adf13f6c81c67a88360dca359ad474523f8e3 %global github_short %(c=%{github_commit}; echo ${c:0:7}) %global composer_vendor doctrine @@ -27,9 +27,9 @@ # "doctrine/orm": "^2.7.0" %global doctrine_orm_min_ver 2.7.0 %global doctrine_orm_max_ver 3.0 -# "doctrine/dbal": "^2.5.4" +# "doctrine/dbal": "^2.5.4 || ^3.0" %global doctrine_dbal_min_ver 2.5.4 -%global doctrine_dbal_max_ver 3.0 +%global doctrine_dbal_max_ver 4 # "doctrine/persistence": "^1.3.3|^2.0" %global doctrine_pers_min_ver 1.3.3 %global doctrine_pers_max_ver 3 @@ -50,6 +50,8 @@ URL: https://github.com/%{github_owner}/%{github_name} Source0: %{name}-%{github_version}-%{github_short}.tgz Source1: makesrc.sh +Patch0: %{name}-dbal3.patch + BuildArch: noarch # Tests %if %{with tests} @@ -120,7 +122,7 @@ Autoloader: %{phpdir}/Doctrine/Common/DataFixtures/autoload.php %prep %setup -qn %{github_name}-%{github_commit} - +%patch0 -p1 %build : Create autoloader @@ -163,6 +165,12 @@ cat << 'BOOTSTRAP' | tee bootstrap.php - 1.5.1-1 +- update to 1.5.1 +- add patch for test suite with doctrine/dbal v3 from + https://github.com/doctrine/data-fixtures/pull/370 + * Mon Jan 25 2021 Remi Collet - 1.5.0-1 - update to 1.5.0 -- cgit