summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-05 09:46:08 +0100
committerRemi Collet <remi@remirepo.net>2018-01-05 09:46:08 +0100
commit85bac060ce28e20aabd4b100e5fbef3be6d581f9 (patch)
treec498a9465eb00b8ec751d96b599888c82310824c
parent64ff860869794d90b47912add7dece37933c4649 (diff)
minor cleanup
-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