diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-02-04 10:31:17 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-02-04 10:31:17 +0100 |
commit | 249ac9234882c960915cc991eb2379cb4643115f (patch) | |
tree | 7d7199e14db7e90832d3cf10f0a22c537eec5ec7 /php-zendframework-zend-permissions-acl.spec | |
parent | fa2259cd65397715a460475ef34bfb39cf66a885 (diff) |
php-zendframework-zend-permissions-acl: 2.6.0
Diffstat (limited to 'php-zendframework-zend-permissions-acl.spec')
-rw-r--r-- | php-zendframework-zend-permissions-acl.spec | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/php-zendframework-zend-permissions-acl.spec b/php-zendframework-zend-permissions-acl.spec index 9d65a08..05aed4e 100644 --- a/php-zendframework-zend-permissions-acl.spec +++ b/php-zendframework-zend-permissions-acl.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 7f1aac3bf99d0be8f71fe4ae79981338be8a08dc +%global gh_commit 843bbd9c6f6d20b84dd0ce6c815d10397e98082b %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner zendframework %global gh_project zend-permissions-acl @@ -20,7 +20,7 @@ %endif Name: php-%{gh_owner}-%{gh_project} -Version: 2.5.1 +Version: 2.6.0 Release: 1%{?dist} Summary: Zend Framework Permissions-%{library} component @@ -34,23 +34,21 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch # Tests %if %{with_tests} -BuildRequires: php(language) >= 5.3.23 +BuildRequires: php(language) >= 5.5 BuildRequires: php-spl # From composer, "require-dev": { # "fabpot/php-cs-fixer": "1.7.*", # "phpunit/PHPUnit": "~4.0", -# "zendframework/zend-di": "~2.5", -# "zendframework/zend-servicemanager": "~2.5" -BuildRequires: php-composer(%{gh_owner}/zend-di) >= 2.5 -BuildRequires: php-composer(%{gh_owner}/zend-servicemanager) >= 2.5 +# "zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3" +BuildRequires: php-composer(%{gh_owner}/zend-servicemanager) >= 2.7.5 BuildRequires: php-composer(phpunit/phpunit) >= 4.0 # Autoloader BuildRequires: php-composer(%{gh_owner}/zend-loader) >= 2.5 %endif # From composer, "require": { -# "php": ">=5.3.23" -Requires: php(language) >= 5.3.23 +# "php": "^5.5 || ^7.0" +Requires: php(language) >= 5.5 %if ! %{bootstrap} # From composer, "suggest": { # "zendframework/zend-servicemanager": "To support Zend\\Permissions\\Acl\\Assertion\\AssertionManager plugin manager usage" @@ -91,14 +89,14 @@ cp -pr src %{buildroot}%{php_home}/Zend/Permissions/%{library} %check %if %{with_tests} mkdir vendor -cat << EOF | tee vendor/autoload.php +cat << 'EOF' | tee vendor/autoload.php <?php require_once '%{php_home}/Zend/Loader/AutoloaderFactory.php'; -Zend\\Loader\\AutoloaderFactory::factory(array( - 'Zend\\Loader\\StandardAutoloader' => array( +Zend\Loader\AutoloaderFactory::factory(array( + 'Zend\Loader\StandardAutoloader' => array( 'namespaces' => array( - 'ZendTest\\\\Permissions\\\\%{library}' => dirname(__DIR__).'/test/', - 'Zend\\\\Permissions\\\\%{library}' => '%{buildroot}%{php_home}/Zend/Permissions/%{library}' + 'ZendTest\\Permissions\\%{library}' => dirname(__DIR__).'/test/', + 'Zend\\Permissions\\%{library}' => '%{buildroot}%{php_home}/Zend/Permissions/%{library}' )))); require_once '%{php_home}/Zend/autoload.php'; EOF @@ -128,5 +126,9 @@ rm -rf %{buildroot} %changelog +* Thu Feb 4 2016 Remi Collet <remi@fedoraproject.org> - 2.6.0-1 +- update to 2.6.0 +- raise dependency on PHP >= 5.5 + * Tue Aug 4 2015 Remi Collet <remi@fedoraproject.org> - 2.5.1-1 -- initial package
\ No newline at end of file +- initial package |