summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-json.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-zendframework-zend-json.spec')
-rw-r--r--php-zendframework-zend-json.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/php-zendframework-zend-json.spec b/php-zendframework-zend-json.spec
index 5cc9d8b..d6c2d04 100644
--- a/php-zendframework-zend-json.spec
+++ b/php-zendframework-zend-json.spec
@@ -1,6 +1,6 @@
# remirepo/Fedora spec file for php-zendframework-zend-json
#
-# Copyright (c) 2015-2017 Remi Collet
+# Copyright (c) 2015-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -45,11 +45,11 @@ BuildRequires: php-spl
# "zendframework/zend-stdlib": "^2.7 || ^3.0",
# "squizlabs/php_codesniffer": "^2.3",
# "phpunit/PHPUnit": "~4.0"
-BuildRequires: php-autoloader(%{gh_owner}/zend-stdlib) >= 2.7
+BuildRequires: php-autoloader(%{gh_owner}/zend-stdlib) >= 2.7
BuildRequires: php-composer(phpunit/phpunit) >= 4.0
+%endif
# Autoloader
BuildRequires: php-fedora-autoloader-devel
-%endif
# From composer, "require": {
# "php": "^5.5 || ^7.0",
@@ -116,7 +116,7 @@ require_once '%{buildroot}%{php_home}/Zend/%{library}/autoload.php';
\Fedora\Autoloader\Dependencies::required([
'%{php_home}/Zend/Stdlib/autoload.php',
]);
-\Fedora\Autoloader\Autoload::addPsr4('ZendTest\\Json\\', dirname(__DIR__) . '/test');
+\Fedora\Autoloader\Autoload::addPsr4('ZendTest\\%{library}\\', dirname(__DIR__) . '/test');
EOF
ret=0
@@ -140,7 +140,7 @@ exit $ret
%changelog
-* Thu Nov 23 2017 Remi Collet <remi@remirepo.net> - 3.1.0-5
+* Thu Nov 23 2017 Remi Collet <remi@remirepo.net> - 3.0.0-5
- switch from zend-loader to fedora/autoloader
* Mon Oct 23 2017 Remi Collet <remi@remirepo.net> - 3.0.0-4