summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-01-03 11:36:44 +0100
committerRemi Collet <remi@php.net>2023-01-03 11:36:44 +0100
commit61d13364b079e5ee3bc58a2134f1d6b4bf458966 (patch)
tree146856ca22b20696ec47426f85029fd6280c5534
parent6f0f24a4d5a97bbce2c0212a6533029fbc2dbdd7 (diff)
update to 2.5.6
allow doctrine/annotations v2
-rw-r--r--composer.json10
-rw-r--r--php-doctrine-persistence2.spec22
2 files changed, 19 insertions, 13 deletions
diff --git a/composer.json b/composer.json
index 6bbc745..e1f422f 100644
--- a/composer.json
+++ b/composer.json
@@ -29,16 +29,16 @@
},
"require-dev": {
"composer/package-versions-deprecated": "^1.11",
- "phpstan/phpstan": "~1.4.10 || 1.8.8",
- "doctrine/annotations": "^1.0",
- "doctrine/coding-standard": "^9 || ^10",
+ "phpstan/phpstan": "~1.4.10 || 1.9.4",
+ "doctrine/annotations": "^1 || ^2",
+ "doctrine/coding-standard": "^9 || ^11",
"doctrine/common": "^3.0",
"phpunit/phpunit": "^7.5.20 || ^8.5 || ^9.5",
"symfony/cache": "^4.4 || ^5.4 || ^6.0",
- "vimeo/psalm": "4.29.0"
+ "vimeo/psalm": "4.30.0 || 5.3.0"
},
"conflict": {
- "doctrine/annotations": "<1.0 || >=2.0",
+ "doctrine/annotations": "<1.0 || >=3.0",
"doctrine/common": "<2.10"
},
"autoload": {
diff --git a/php-doctrine-persistence2.spec b/php-doctrine-persistence2.spec
index 7e8f6fa..e40cda0 100644
--- a/php-doctrine-persistence2.spec
+++ b/php-doctrine-persistence2.spec
@@ -8,7 +8,7 @@
#
%global bootstrap 0
-%global gh_commit 38670dd6ac8f2d997a0b5b6c98cb380ef0ba9bd3
+%global gh_commit 7729fc2a7e5efc8bbfa408a3b8adeb8f5b84f5d1
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner doctrine
%global gh_project persistence
@@ -27,7 +27,7 @@
%endif
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 2.5.5
+Version: 2.5.6
Release: 1%{?dist}
Summary: Doctrine Persistence abstractions, version %{major}
@@ -45,16 +45,16 @@ BuildRequires: php-pcre
BuildRequires: php-spl
# From composer.json
# "composer/package-versions-deprecated": "^1.11",
-# "phpstan/phpstan": "~1.4.10 || 1.8.8",
-# "doctrine/annotations": "^1.0",
-# "doctrine/coding-standard": "^9 || ^10",
+# "phpstan/phpstan": "~1.4.10 || 1.9.4",
+# "doctrine/annotations": "^1 || ^2",
+# "doctrine/coding-standard": "^9 || ^11",
# "doctrine/common": "^3.0",
# "phpunit/phpunit": "^7.5.20 || ^8.5 || ^9.5",
# "symfony/cache": "^4.4 || ^5.4 || ^6.0",
-# "vimeo/psalm": "4.29.0"
+# "vimeo/psalm": "4.30.0 || 5.3.0"
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(doctrine/annotations) >= 1.0 with php-composer(doctrine/annotations) < 2)
+BuildRequires: (php-composer(doctrine/annotations) >= 1.0 with php-composer(doctrine/annotations) < 3)
BuildRequires: (php-composer(doctrine/cache) >= 1.11 with php-composer(doctrine/cache) < 3)
BuildRequires: (php-composer(doctrine/collections) >= 1.0 with php-composer(doctrine/collections) < 2)
BuildRequires: (php-composer(doctrine/event-manager) >= 1 with php-composer(doctrine/event-manager) < 3)
@@ -173,8 +173,10 @@ cat << 'EOF' | tee -a vendor/autoload.php
require "%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_subproj}%{major}/autoload.php";
\Fedora\Autoloader\Dependencies::required([
'%{_datadir}/php/%{ns_vendor}/Common3/autoload.php',
- '%{_datadir}/php/%{ns_vendor}/%{ns_project}/Annotations/autoload.php',
[
+ '%{_datadir}/php/%{ns_vendor}/%{ns_project}/Annotations2/autoload.php',
+ '%{_datadir}/php/%{ns_vendor}/%{ns_project}/Annotations/autoload.php',
+ ], [
'%{_datadir}/php/Symfony6/Component/Cache/autoload.php',
'%{_datadir}/php/Symfony5/Component/Cache/autoload.php',
'%{_datadir}/php/Symfony4/Component/Cache/autoload.php',
@@ -212,6 +214,10 @@ exit $ret
%changelog
+* Tue Jan 3 2023 Remi Collet <remi@remirepo.net> - 2.5.6-1
+- update to 2.5.6
+- allow doctrine/annotations v2
+
* Thu Oct 13 2022 Remi Collet <remi@remirepo.net> - 2.5.5-1
- update to 2.5.5
- allow doctrine/event-manager v2