summaryrefslogtreecommitdiffstats
path: root/php-felixfbecker-advanced-json-rpc3.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-02-12 08:40:01 +0100
committerRemi Collet <remi@remirepo.net>2020-02-12 08:40:01 +0100
commitff250fbd5da013c5c9a77dfe571da4e208146cb5 (patch)
treed709fd3987a9aa252f76a4a9db188bd344385488 /php-felixfbecker-advanced-json-rpc3.spec
parent26df001a8d65f8a2711567b1c914ef7233e47783 (diff)
update to 3.1.0 (no change)
allow phpdocumentor/reflection-docblock v5
Diffstat (limited to 'php-felixfbecker-advanced-json-rpc3.spec')
-rw-r--r--php-felixfbecker-advanced-json-rpc3.spec19
1 files changed, 13 insertions, 6 deletions
diff --git a/php-felixfbecker-advanced-json-rpc3.spec b/php-felixfbecker-advanced-json-rpc3.spec
index 4e74f01..2e58bac 100644
--- a/php-felixfbecker-advanced-json-rpc3.spec
+++ b/php-felixfbecker-advanced-json-rpc3.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 23366dd0cab0a0f3fd3016bf3c0b36dec74348e7
+%global gh_commit a407a6cb0325cd489c6dff57afcba6baeccc0483
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner felixfbecker
%global gh_project php-advanced-json-rpc
@@ -21,7 +21,7 @@
%global with_tests 0%{!?_without_tests:1}
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 3.0.4
+Version: 3.1.0
Release: 1%{?dist}
Summary: A more advanced JSONRPC implementation
@@ -39,7 +39,7 @@ BuildRequires: php-reflection
BuildRequires: php-json
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(netresearch/jsonmapper) >= 1.0 with php-composer(netresearch/jsonmapper) < 2)
-BuildRequires: (php-composer(phpdocumentor/reflection-docblock) >= 4.0 with php-composer(phpdocumentor/reflection-docblock) < 5)
+BuildRequires: (php-composer(phpdocumentor/reflection-docblock) >= 4.0 with php-composer(phpdocumentor/reflection-docblock) < 6)
%else
BuildRequires: php-netresearch-jsonmapper
BuildRequires: php-phpdocumentor-reflection-docblock4
@@ -54,11 +54,11 @@ BuildRequires: php-composer(fedora/autoloader)
# From composer.json, "require": {
# "php": ">=7.0",
# "netresearch/jsonmapper": "^1.0",
-# "phpdocumentor/reflection-docblock": "^3.1"
+# "phpdocumentor/reflection-docblock": "^4.0.0 || ^5.0.0"
Requires: php(language) >= 7.0
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(netresearch/jsonmapper) >= 1.0 with php-composer(netresearch/jsonmapper) < 2)
-Requires: (php-composer(phpdocumentor/reflection-docblock) >= 4.0 with php-composer(phpdocumentor/reflection-docblock) < 5)
+Requires: (php-composer(phpdocumentor/reflection-docblock) >= 4.0 with php-composer(phpdocumentor/reflection-docblock) < 6)
%else
Requires: php-netresearch-jsonmapper
Requires: php-phpdocumentor-reflection-docblock4
@@ -99,7 +99,10 @@ cat << 'EOF' | tee lib/autoload.php
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('%{ns_project}\\', __DIR__);
\Fedora\Autoloader\Dependencies::required([
- '%{php_home}/phpDocumentor/Reflection/DocBlock4/autoload.php',
+ [
+ '%{php_home}/phpDocumentor/Reflection/DocBlock5/autoload.php',
+ '%{php_home}/phpDocumentor/Reflection/DocBlock4/autoload.php',
+ ],
'%{php_home}/netresearch/jsonmapper/autoload.php',
]);
EOF
@@ -144,6 +147,10 @@ exit $ret
%changelog
+* Wed Feb 12 2020 Remi Collet <remi@remirepo.net> - 3.1.0-1
+- update to 3.1.0 (no change)
+- allow phpdocumentor/reflection-docblock v5
+
* Fri Sep 13 2019 Remi Collet <remi@remirepo.net> - 3.0.4-1
- update to 3.0.4