$schemaData = json_decode(file_get_contents($schemaFile));
if ($schema === self::LAX_SCHEMA) {
+--- composer-1.0.0-15.alpha11/src/Composer/Autoload/AutoloadGenerator.php~ 2015-11-14 18:21:07.000000000 +0200
++++ composer-1.0.0-15.alpha11/src/Composer/Autoload/AutoloadGenerator.php 2015-11-26 14:52:01.344498517 +0200
+@@ -275,7 +275,7 @@
+ file_put_contents($targetDir.'/autoload_real.php', $this->getAutoloadRealFile(true, (bool) $includePathFileContents, $targetDirLoader, (bool) $includeFilesFileContents, $vendorPathCode, $appBaseDirCode, $suffix, $useGlobalIncludePath, $prependAutoloader));
+
+ $this->safeCopy(__DIR__.'/ClassLoader.php', $targetDir.'/ClassLoader.php');
+- $this->safeCopy(__DIR__.'/../../../LICENSE', $targetDir.'/LICENSE');
++ $this->safeCopy(__DIR__.'/../res/LICENSE', $targetDir.'/LICENSE');
+
+ $this->eventDispatcher->dispatchScript(ScriptEvents::POST_AUTOLOAD_DUMP, $this->devMode, array(), array(
+ 'optimize' => (bool) $scanPsr0Packages,
cp -p %{SOURCE3} src/Composer/autoload.php
+# AutoloadGenerator needs this runtime
+mv LICENSE res
+
# move to Composer dir, this will simplify testing
mv res src/Composer
ln -s src/Composer/res
%files
%defattr(644,root,root,755)
-%doc README.md CHANGELOG.md LICENSE PORTING_INFO
+%doc README.md CHANGELOG.md PORTING_INFO
+%doc src/Composer/res/LICENSE
%attr(755,root,root) %{_bindir}/composer
%{php_data_dir}/Composer