From 9eada6129052d909ada60fe83aeb1c34543aaabc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 3 May 2022 08:06:34 +0200 Subject: update to 2.5.2 allow doctrine/deprecations 1 --- composer.json | 2 +- php-doctrine-persistence2.spec | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index a77cf49..e90461e 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "doctrine/collections": "^1.0", "doctrine/event-manager": "^1.0", "psr/cache": "^1.0 || ^2.0 || ^3.0", - "doctrine/deprecations": "^0.5.3" + "doctrine/deprecations": "^0.5.3 || ^1" }, "require-dev": { "composer/package-versions-deprecated": "^1.11", diff --git a/php-doctrine-persistence2.spec b/php-doctrine-persistence2.spec index 4e13e16..31bad65 100644 --- a/php-doctrine-persistence2.spec +++ b/php-doctrine-persistence2.spec @@ -8,7 +8,7 @@ # %global bootstrap 0 -%global gh_commit 4473480044c88f30e0e8288e7123b60c7eb9efa3 +%global gh_commit 4276c6cbc0ca692c190f650a2678623bf04af2d2 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner doctrine %global gh_project persistence @@ -27,9 +27,9 @@ %endif Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 2.5.1 +Version: 2.5.2 Release: 1%{?dist} -Summary: Doctrine Persistence abstractions +Summary: Doctrine Persistence abstractions, version %{major} License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} @@ -59,7 +59,7 @@ BuildRequires: (php-composer(doctrine/cache) >= 1.11 with php-composer( BuildRequires: (php-composer(doctrine/collections) >= 1.0 with php-composer(doctrine/collections) < 2) BuildRequires: (php-composer(doctrine/event-manager) >= 1.0 with php-composer(doctrine/event-manager) < 2) BuildRequires: (php-composer(doctrine/common) >= 3.0 with php-composer(doctrine/common) < 4) -BuildRequires: (php-composer(doctrine/deprecations) >= 0.5.3 with php-composer(doctrine/deprecations) < 1) +BuildRequires: (php-composer(doctrine/deprecations) >= 0.5.3 with php-composer(doctrine/deprecations) < 2) BuildRequires: (php-composer(symfony/cache) >= 4.4 with php-composer(symfony/cache) < 7) BuildRequires: (php-composer(psr/cache) >= 1.0 with php-composer(psr/cache) < 2) # remirepo:10 @@ -83,14 +83,14 @@ BuildRequires: phpunit9 # "doctrine/collections": "^1.0", # "doctrine/event-manager": "^1.0", # "psr/cache": "^1.0 || ^2.0 || ^3.0", -# "doctrine/deprecations": "^0.5.3" +# "doctrine/deprecations": "^0.5.3 || ^1" Requires: php(language) >= 7.1 # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(doctrine/cache) >= 1.11 with php-composer(doctrine/cache) < 3) Requires: (php-composer(doctrine/collections) >= 1.0 with php-composer(doctrine/collections) < 2) Requires: (php-composer(doctrine/event-manager) >= 1.0 with php-composer(doctrine/event-manager) < 2) -Requires: (php-composer(doctrine/deprecations) >= 0.5.3 with php-composer(doctrine/deprecations) < 1) +Requires: (php-composer(doctrine/deprecations) >= 0.5.3 with php-composer(doctrine/deprecations) < 2) # ignore v2 and v3 Requires: (php-composer(psr/cache) >= 1.0 with php-composer(psr/cache) < 2) # remirepo:7 @@ -209,6 +209,10 @@ exit $ret %changelog +* Tue May 3 2022 Remi Collet - 2.5.2-1 +- update to 2.5.2 +- allow doctrine/deprecations 1 + * Tue Apr 19 2022 Remi Collet - 2.5.1-1 - update to 2.5.1 -- cgit