summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-mock2.spec2
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