summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-02 09:08:44 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-02 09:08:44 +0200
commit813a0a3ebed2ebaddb84136714e966f6bfb16e59 (patch)
treec23c6b9a2e53d9331f6417038b6ae729a01b19c5
parentb40c903a7aab9e893669ac394791d327c12af15e (diff)
php-phpunit-PHPUnit-MockObject: fix autoloader
-rw-r--r--Autoload.php.in2
-rw-r--r--php-phpunit-PHPUnit-MockObject.spec7
2 files changed, 6 insertions, 3 deletions
diff --git a/Autoload.php.in b/Autoload.php.in
index e79223b..94cfaee 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-PHPUnit-MockObject.spec b/php-phpunit-PHPUnit-MockObject.spec
index cd5a804..1378483 100644
--- a/php-phpunit-PHPUnit-MockObject.spec
+++ b/php-phpunit-PHPUnit-MockObject.spec
@@ -22,7 +22,7 @@
Name: php-phpunit-PHPUnit-MockObject
Version: 2.3.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Mock Object library for PHPUnit
Group: Development/Libraries
@@ -40,7 +40,7 @@ Patch0: %{gh_project}-rpm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: %{_bindir}/phpab
+BuildRequires: php-theseer-autoload >= 1.19
%if %{with_tests}
# From composer.json, "require-dev": {
# "phpunit/phpunit": "~4.4"
@@ -134,6 +134,9 @@ fi
%changelog
+* Thu Jul 2 2015 Remi Collet <remi@fedoraproject.org> - 2.3.4-2
+- fix autoloader
+
* Thu Jun 11 2015 Remi Collet <remi@fedoraproject.org> - 2.3.4-1
- update to 2.3.4