summaryrefslogtreecommitdiffstats
path: root/php-felixfbecker-advanced-json-rpc3.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-11 11:20:13 +0200
committerRemi Collet <remi@remirepo.net>2020-08-11 11:20:13 +0200
commit7f78116004f6fb35e0aac19362eb6412906844d3 (patch)
treea490e6a38625db9e93c8a00dd218b4344319202f /php-felixfbecker-advanced-json-rpc3.spec
parent49e35e7796eb4c60096dda7aef5fddda3710a2c5 (diff)
allow netresearch/jsonmapper 3.0
Diffstat (limited to 'php-felixfbecker-advanced-json-rpc3.spec')
-rw-r--r--php-felixfbecker-advanced-json-rpc3.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-felixfbecker-advanced-json-rpc3.spec b/php-felixfbecker-advanced-json-rpc3.spec
index e3befcf..5addfad 100644
--- a/php-felixfbecker-advanced-json-rpc3.spec
+++ b/php-felixfbecker-advanced-json-rpc3.spec
@@ -22,7 +22,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 3.1.1
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: A more advanced JSONRPC implementation
License: ISC
@@ -38,7 +38,7 @@ BuildRequires: php(language) >= 7.0
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) < 3)
+BuildRequires: (php-composer(netresearch/jsonmapper) >= 1.0 with php-composer(netresearch/jsonmapper) < 4)
BuildRequires: (php-composer(phpdocumentor/reflection-docblock) >= 4.0 with php-composer(phpdocumentor/reflection-docblock) < 6)
%else
BuildRequires: php-netresearch-jsonmapper
@@ -57,7 +57,7 @@ BuildRequires: php-composer(fedora/autoloader)
# "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) < 3)
+Requires: (php-composer(netresearch/jsonmapper) >= 1.0 with php-composer(netresearch/jsonmapper) < 4)
Requires: (php-composer(phpdocumentor/reflection-docblock) >= 4.0 with php-composer(phpdocumentor/reflection-docblock) < 6)
%else
Requires: php-netresearch-jsonmapper
@@ -127,7 +127,7 @@ require '%{buildroot}%{php_home}/%{ns_project}%{major}/autoload.php';
EOF
ret=0
-for cmd in php php72 php73 php74; do
+for cmd in php php72 php73 php74 php80; do
if which $cmd; then
$cmd %{_bindir}/phpunit6 --bootstrap bootstrap.php --verbose tests || ret=1
fi
@@ -147,6 +147,9 @@ exit $ret
%changelog
+* Tue Aug 11 2020 Remi Collet <remi@remirepo.net> - 3.1.1-3
+- allow netresearch/jsonmapper 3.0
+
* Sat Mar 14 2020 Remi Collet <remi@remirepo.net> - 3.1.1-1
- update to 3.1.1 (no change)
- allow netresearch/jsonmapper 2.0