diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-01-28 08:32:53 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-01-28 08:32:53 +0100 |
commit | 958f1e3d0cab673b42f0b854bd3990bf24dd6a55 (patch) | |
tree | b210cea93a9ffe18af4db03f8289e9dfedd2286d | |
parent | 4d146bfc98d70724cfae9fa7223a5754143575ee (diff) |
php-zendframework-zend-eventmanager: 2.6.2
-rwxr-xr-x | makesrc.sh | 1 | ||||
-rw-r--r-- | php-zendframework-zend-eventmanager.spec | 20 |
2 files changed, 13 insertions, 8 deletions
@@ -16,6 +16,7 @@ git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT echo "Getting commit..." pushd $PROJECT-$COMMIT git checkout $COMMIT +cp composer.json ../composer-$VERSION.json popd echo "Archiving..." diff --git a/php-zendframework-zend-eventmanager.spec b/php-zendframework-zend-eventmanager.spec index 0d449f0..d8fc6e2 100644 --- a/php-zendframework-zend-eventmanager.spec +++ b/php-zendframework-zend-eventmanager.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 135af03d07fd048c322259aab6611d2be290475c +%global gh_commit b4354f75f694504d32e7d080641854f830acb865 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner zendframework %global gh_project zend-eventmanager @@ -20,7 +20,7 @@ %endif Name: php-%{gh_owner}-%{gh_project} -Version: 2.5.2 +Version: 2.6.2 Release: 1%{?dist} Summary: Zend Framework %{library} component @@ -39,7 +39,8 @@ BuildRequires: php-spl BuildRequires: php-composer(%{gh_owner}/zend-stdlib) >= 2.5 # From composer, "require-dev": { # "fabpot/php-cs-fixer": "1.7.*", -# "phpunit/PHPUnit": "~4.0" +# "phpunit/PHPUnit": "~4.0", +# "athletic/athletic": "dev-master" BuildRequires: php-composer(phpunit/phpunit) >= 4.0 # Autoloader BuildRequires: php-composer(%{gh_owner}/zend-loader) >= 2.5 @@ -91,14 +92,14 @@ cp -pr src %{buildroot}%{php_home}/Zend/%{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\\\\%{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 @@ -127,5 +128,8 @@ rm -rf %{buildroot} %changelog +* Thu Jan 28 2016 Remi Collet <remi@fedoraproject.org> - 2.6.2-1 +- update to 2.6.2 + * Tue Aug 4 2015 Remi Collet <remi@fedoraproject.org> - 2.5.2-1 - initial package
\ No newline at end of file |