summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-02 09:01:30 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-02 09:01:30 +0200
commit540d6390dfb4e5bee25adeb9cfa401f383edd2f9 (patch)
treed69314677ffd163c1373a8ca284cd634cff921d6
parentd160f90fa8a685317e3ad5330ff891ad48378b91 (diff)
php-phpunit-PHP-TokenStream: fix autoloader
-rw-r--r--Autoload.php.in2
-rw-r--r--php-phpunit-PHP-TokenStream.spec5
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 <remi@fedoraproject.org> - 1.4.3-2
+- fix autoloader
+
* Fri Jun 19 2015 Remi Collet <remi@fedoraproject.org> - 1.4.3-1
- Update to 1.4.3