summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-02 09:04:21 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-02 09:04:21 +0200
commit7c2b84f7dd5ab6f2e79d7b680ad2356684edd13c (patch)
tree7efc4d600866ffe0b55dfc325dbda1469bd0c750
parentb676f0cf5b8a0a60b331065e4119302f65e91727 (diff)
php-phpunit-PHP-CodeCoverage: fix autoloader
-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