summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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