diff options
author | Remi Collet <remi@remirepo.net> | 2017-12-05 09:36:21 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-12-05 09:36:21 +0100 |
commit | 839cbc89d469dd558e3387a9d736c22c1eabf9f7 (patch) | |
tree | 8196ab4ff380da0c72f4be696648e4b9003ea881 | |
parent | af35c42f2f6f5e5fb1bc89034cacda3bf0624484 (diff) |
fix autoloader
-rw-r--r-- | php-mock2.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-mock2.spec b/php-mock2.spec index e26e994..5462bdb 100644 --- a/php-mock2.spec +++ b/php-mock2.spec @@ -83,7 +83,7 @@ cat << 'AUTOLOAD' | tee tests/autoload.php <?php /* Autoloader for %{name} tests */ -require_once '%{_datadir}/php/phpmock/autoload.php'; +require_once '%{_datadir}/php/phpmock%{major}/autoload.php'; \Fedora\Autoloader\Autoload::addPsr4('phpmock\\', __DIR__); AUTOLOAD |