summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-14 10:05:17 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-14 10:05:17 +0100
commit8d8b373aa6bb70b5c31c6b955606db5d9740793f (patch)
tree514d0938cb9250195f48afbee0d64c9b77f62432
parent6e576f89b0b29f1762375bf1008022c8236a6529 (diff)
php-league-flysystem: typo
-rw-r--r--php-league-flysystem.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/php-league-flysystem.spec b/php-league-flysystem.spec
index 81df1de..6cb396c 100644
--- a/php-league-flysystem.spec
+++ b/php-league-flysystem.spec
@@ -102,12 +102,13 @@ cp -pr src %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}
mkdir vendor
cat << 'EOF' | tee vendor/autoload.php
<?php
-// Library
+// Installed library
require '%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}/autoload.php';
-// Test suite
-require_once '/%{_datadir}/php/Mockery/autoload.php';
+// Dependency
+require_once '%{_datadir}/php/Mockery/autoload.php';
+// Test suite
require_once '%{_datadir}/php/Symfony/Component/ClassLoader/Psr4ClassLoader.php';
$Loader = new \Symfony\Component\ClassLoader\Psr4ClassLoader();
$Loader->addPrefix("League\\Flysystem\\Stub\\", dirname(__DIR__).'/stub');