diff options
-rw-r--r-- | php-zendframework-zend-mvc.spec | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/php-zendframework-zend-mvc.spec b/php-zendframework-zend-mvc.spec index a9a3e3e..736e69a 100644 --- a/php-zendframework-zend-mvc.spec +++ b/php-zendframework-zend-mvc.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit a22422d1d17f3afa031de2be5453f45109e4b7f4 +%global gh_commit 076b0c8cef37da91427aa43957e9e93fb67370e1 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner zendframework %global gh_project zend-mvc @@ -20,7 +20,7 @@ %endif Name: php-%{gh_owner}-%{gh_project} -Version: 2.5.1 +Version: 2.5.2 Release: 1%{?dist} Summary: Zend Framework %{library} component @@ -34,7 +34,7 @@ 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-reflection BuildRequires: php-intl BuildRequires: php-pcre @@ -88,12 +88,12 @@ BuildRequires: php-composer(%{gh_owner}/zend-loader) >= 2.5 %endif # From composer, "require": { -# "php": ">=5.3.23", +# "php": ">=5.5", # "zendframework/zend-eventmanager": "~2.5", # "zendframework/zend-servicemanager": "~2.5", # "zendframework/zend-form": "~2.5", # "zendframework/zend-stdlib": "~2.5" -Requires: php(language) >= 5.3.23 +Requires: php(language) >= 5.5 %if ! %{bootstrap} Requires: php-composer(%{gh_owner}/zend-eventmanager) >= 2.5 Requires: php-composer(%{gh_owner}/zend-eventmanager) < 3 @@ -117,7 +117,6 @@ Requires: php-composer(%{gh_owner}/zend-stdlib) < 3 # "zendframework/zend-modulemanager": "Zend\\ModuleManager component", # "zendframework/zend-serializer": "Zend\\Serializer component", # "zendframework/zend-session": "Zend\\Session component for FlashMessenger, PRG, and FPRG plugins", -# "zendframework/zend-stdlib": "Zend\\Stdlib component", # "zendframework/zend-text": "Zend\\Text component", # "zendframework/zend-uri": "Zend\\Uri component", # "zendframework/zend-validator": "Zend\\Validator component", @@ -136,7 +135,6 @@ Suggests: php-composer(%{gh_owner}/zend-log) Suggests: php-composer(%{gh_owner}/zend-modulemanager) Suggests: php-composer(%{gh_owner}/zend-serializer) Suggests: php-composer(%{gh_owner}/zend-session) -Suggests: php-composer(%{gh_owner}/zend-stdlib) Suggests: php-composer(%{gh_owner}/zend-text) Suggests: php-composer(%{gh_owner}/zend-uri) Suggests: php-composer(%{gh_owner}/zend-validator) @@ -196,11 +194,11 @@ mkdir vendor 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\\\\%{library}' => dirname(__DIR__).'/test/', - 'Zend\\\\%{library}' => '%{buildroot}%{php_home}/Zend/%{library}' + 'ZendTest\\%{library}' => dirname(__DIR__).'/test/', + 'Zend\\%{library}' => '%{buildroot}%{php_home}/Zend/%{library}' )))); require_once '%{php_home}/Zend/autoload.php'; EOF @@ -224,5 +222,8 @@ rm -rf %{buildroot} %changelog +* Tue Sep 15 2015 Remi Collet <remi@fedoraproject.org> - 2.5.2-1 +- version 2.5.2 + * Tue Aug 4 2015 Remi Collet <remi@fedoraproject.org> - 2.5.1-1 - initial package
\ No newline at end of file |