summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Autoload.php.in2
-rw-r--r--php-phpunit-PHP-CodeCoverage.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/Autoload.php.in b/Autoload.php.in
index 98b2e99..2f422fb 100644
--- a/Autoload.php.in
+++ b/Autoload.php.in
@@ -18,7 +18,7 @@ spl_autoload_register(
___CLASSLIST___
);
- $path = dirname(dirname(__FILE__));
+ $path = __DIR__;
}
$cn = strtolower($class);
diff --git a/php-phpunit-PHP-CodeCoverage.spec b/php-phpunit-PHP-CodeCoverage.spec
index 9c5781d..8894ca0 100644
--- a/php-phpunit-PHP-CodeCoverage.spec
+++ b/php-phpunit-PHP-CodeCoverage.spec
@@ -23,7 +23,7 @@
Name: php-phpunit-PHP-CodeCoverage
Version: 2.1.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: PHP code coverage information
Group: Development/Libraries
@@ -134,6 +134,9 @@ fi
%changelog
+* Thu Jul 2 2015 Remi Collet <remi@fedoraproject.org> - 2.1.7-2
+- fix autoloader
+
* Tue Jun 30 2015 Remi Collet <remi@fedoraproject.org> - 2.1.7-1
- update to 2.1.7