summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-psr-container.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-psr-container.spec b/php-psr-container.spec
index 97dccc7..4e1a2e8 100644
--- a/php-psr-container.spec
+++ b/php-psr-container.spec
@@ -62,7 +62,7 @@ cat <<'AUTOLOAD' | tee src/autoload.php
<?php
/* Autoloader for %{pk_vendor}/%{pk_project} and its dependencies */
-require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+require_once '%{_datadir}/php/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('Psr\\Container\\', __DIR__);
AUTOLOAD