diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-06-30 14:08:28 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-06-30 14:08:28 +0200 |
commit | 618fb11c7c0c7045b001365ae92d9af8fd7a08c8 (patch) | |
tree | 3b6a6a9ff0735177fd9374e58e2a1725ae06f52a | |
parent | e9153bf2339f11f39462457c67be2a3da5bd522b (diff) |
php-react-promise: rawhide changes
-rw-r--r-- | php-react-promise.spec | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/php-react-promise.spec b/php-react-promise.spec index 0850b4e..6b71189 100644 --- a/php-react-promise.spec +++ b/php-react-promise.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-react-promise, from Fedora: # -# RPM spec file for php-react-promise +# Fedora spec file for php-react-promise # # Copyright (c) 2014-2015 Shawn Iwinski <shawn.iwinski@gmail.com> # @@ -28,7 +28,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 4%{?github_release}%{?dist} +Release: 6%{?github_release}%{?dist} Summary: A lightweight implementation of CommonJS Promises/A for PHP Group: Development/Libraries @@ -83,14 +83,14 @@ A lightweight implementation of CommonJS Promises/A [1] for PHP. if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Component\ClassLoader\ClassLoader)) { if (!class_exists('Symfony\\Component\\ClassLoader\\ClassLoader', false)) { - require_once 'Symfony/Component/ClassLoader/ClassLoader.php'; + require_once '%{phpdir}/Symfony/Component/ClassLoader/ClassLoader.php'; } $fedoraClassLoader = new \Symfony\Component\ClassLoader\ClassLoader(); $fedoraClassLoader->register(); } -$fedoraClassLoader->addPrefix('React\\Promise', dirname(dirname(__DIR__))); +$fedoraClassLoader->addPrefix('React\\Promise\\', dirname(dirname(__DIR__))); require_once __DIR__ . '/functions_include.php'; @@ -147,6 +147,9 @@ rm -rf %{buildroot} %changelog +* Sun Jun 28 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.2.0-6 +- Autoloader updates + * Fri Jun 12 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.2.0-4 - Use new $fedoraClassLoader concept in autoloader |