From 540d6390dfb4e5bee25adeb9cfa401f383edd2f9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 2 Jul 2015 09:01:30 +0200 Subject: php-phpunit-PHP-TokenStream: fix autoloader --- Autoload.php.in | 2 +- php-phpunit-PHP-TokenStream.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Autoload.php.in b/Autoload.php.in index c6d8bd4..308048c 100644 --- a/Autoload.php.in +++ b/Autoload.php.in @@ -12,7 +12,7 @@ spl_autoload_register( ___CLASSLIST___ ); - $path = dirname(dirname(dirname(__FILE__))); + $path = __DIR__; } $cn = strtolower($class); diff --git a/php-phpunit-PHP-TokenStream.spec b/php-phpunit-PHP-TokenStream.spec index 1731ea5..7e00952 100644 --- a/php-phpunit-PHP-TokenStream.spec +++ b/php-phpunit-PHP-TokenStream.spec @@ -23,7 +23,7 @@ Name: php-phpunit-PHP-TokenStream Version: 1.4.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Wrapper around PHP tokenizer extension Group: Development/Libraries @@ -115,6 +115,9 @@ fi %changelog +* Thu Jul 2 2015 Remi Collet - 1.4.3-2 +- fix autoloader + * Fri Jun 19 2015 Remi Collet - 1.4.3-1 - Update to 1.4.3 -- cgit