diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-03-01 17:22:45 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-03-01 17:22:45 +0100 |
commit | 51078eed2efe943e70238087bb700a8868d2a54b (patch) | |
tree | fadac574d47bb489387c5e5ec04046aac3e03185 | |
parent | e9b4551f02f81301ba57febbc981bd834010913f (diff) |
php-psr-container: minor
-rw-r--r-- | php-psr-container.spec | 2 |
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 |