summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-21 13:09:30 +0200
committerRemi Collet <remi@remirepo.net>2017-08-21 13:09:30 +0200
commit72c1a0177d421712c1bc2856a9563a35714b5d92 (patch)
tree466f67f31f9b19f98b9c86e6332f394d157211af
parent13761a01dc4aeccde3cab1284805f77fe22de539 (diff)
sync with Fedora
-rwxr-xr-xphp-symfony3-generate-autoloaders.php97
-rw-r--r--php-symfony3.spec108
2 files changed, 136 insertions, 69 deletions
diff --git a/php-symfony3-generate-autoloaders.php b/php-symfony3-generate-autoloaders.php
index 9b6f152..3f0fcc3 100755
--- a/php-symfony3-generate-autoloaders.php
+++ b/php-symfony3-generate-autoloaders.php
@@ -16,7 +16,8 @@ $finder->in(SYMFONY_SOURCE_DIR)->name('composer.json')->sortByName();
foreach ($finder as $composerFile) {
$autoloadGenerator = new AutoloadGenerator($composerFile);
- echo $autoloadGenerator->getFilename(), "\n";
+ echo $autoloadGenerator->getFilename().PHP_EOL;
+ echo $autoloadGenerator->getDevFilename().PHP_EOL;
}
@@ -25,6 +26,10 @@ foreach ($finder as $composerFile) {
final class AutoloadGenerator {
private static $pkgMap = [
+ 'cache/integration-tests' => [
+ 'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
+ 'path' => 'Cache/IntegrationTests/autoload.php',
+ ],
'doctrine/annotations' => [
'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
'path' => 'Doctrine/Common/Annotations/autoload.php',
@@ -33,6 +38,10 @@ final class AutoloadGenerator {
'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
'path' => 'Doctrine/Common/Cache/autoload.php',
],
+ 'doctrine/collections' => [
+ 'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
+ 'path' => 'Doctrine/Common/Collections/autoload.php',
+ ],
'doctrine/common' => [
'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
'path' => 'Doctrine/Common/autoload.php',
@@ -45,6 +54,10 @@ final class AutoloadGenerator {
'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
'path' => 'Doctrine/DBAL/autoload.php',
],
+ 'doctrine/doctrine-bundle' => [
+ 'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
+ 'path' => 'Doctrine/Bundle/DoctrineBundle/autoload.php',
+ ],
'doctrine/orm' => [
'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
'path' => 'Doctrine/ORM/autoload.php',
@@ -69,6 +82,7 @@ final class AutoloadGenerator {
'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
'path' => 'phpDocumentor/Reflection/DocBlock/autoload.php',
],
+ 'predis/predis' => false,
'psr/cache-implementation' => false,
'psr/cache' => [
'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
@@ -90,6 +104,7 @@ final class AutoloadGenerator {
'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
'path' => 'Psr/SimpleCache/autoload.php',
],
+ 'sensio/framework-extra-bundle' => false,
'symfony/asset' => [
'prefix' => 'FEDORA_SYMFONY3_DIR',
'path' => 'Component/Asset/autoload.php',
@@ -255,7 +270,7 @@ final class AutoloadGenerator {
],
'symfony/security-acl' => [
'prefix' => 'FEDORA_SYMFONY3_PHP_DIR',
- 'path' => 'Component/Security/Acl/autoload.php',
+ 'path' => 'Symfony/Component/Security/Acl/autoload.php',
],
'symfony/security-bundle' => [
'prefix' => 'FEDORA_SYMFONY3_DIR',
@@ -321,6 +336,10 @@ final class AutoloadGenerator {
'prefix' => 'FEDORA_SYMFONY3_DIR',
'path' => 'Bundle/WebProfilerBundle/autoload.php',
],
+ 'symfony/workflow' => [
+ 'prefix' => 'FEDORA_SYMFONY3_DIR',
+ 'path' => 'Component/Workflow/autoload.php',
+ ],
'symfony/yaml' => [
'prefix' => 'FEDORA_SYMFONY3_DIR',
'path' => 'Component/Yaml/autoload.php',
@@ -336,22 +355,39 @@ final class AutoloadGenerator {
private $filename = null;
+ private $devFilename = null;
+
public function __construct(SplFileInfo $composerFile) {
$composerJson = static::composerJson($composerFile);
+
+ // autoload.php
$content = static::content(
$composerJson,
- static::dependencyAutoloaders($composerJson, true),
- static::dependencyAutoloaders($composerJson, false)
+ static::dependencyAutoloaders($composerJson, 'require'),
+ static::dependencyAutoloaders($composerJson, 'suggest')
);
-
$this->filename = $composerFile->getPath() . '/autoload.php';
-
if (FALSE == file_put_contents($this->filename, $content)) {
throw new Exception(sprintf(
'Failed to generate autoload file "%s"',
$this->filename
));
}
+
+ // autoload-dev.php
+ $content = static::content(
+ $composerJson,
+ static::dependencyAutoloaders($composerJson, 'require-dev'),
+ [],
+ true
+ );
+ $this->devFilename = $composerFile->getPath() . '/autoload-dev.php';
+ if (FALSE == file_put_contents($this->devFilename, $content)) {
+ throw new Exception(sprintf(
+ 'Failed to generate autoload file "%s"',
+ $this->filename
+ ));
+ }
}
private static function composerJson(SplFileInfo $composerFile) {
@@ -370,9 +406,8 @@ final class AutoloadGenerator {
return $composerJson;
}
- private static function dependencyAutoloaders($composerJson, $required) {
+ private static function dependencyAutoloaders($composerJson, $composerKey) {
$dependencyAutoloaders = [];
- $composerKey = $required ? 'require' : 'suggest';
if (isset($composerJson[$composerKey])) {
$dependencies = array_keys(array_filter(
@@ -384,6 +419,15 @@ final class AutoloadGenerator {
));
foreach ($dependencies as $pkg) {
+ // Use Symfony cache component as PSR cache implementation
+ // for "require-dev" dependency.
+ if (
+ ('require-dev' == $composerKey)
+ && ('psr/cache-implementation' == $pkg)
+ ) {
+ $pkg = 'symfony/cache';
+ }
+
if ($autoloader = self::pkg2Autoload($pkg)) {
$dependencyAutoloaders[] = $autoloader;
}
@@ -413,7 +457,7 @@ final class AutoloadGenerator {
: sprintf("%s.'/%s'", $prefix, $path);
}
- public function content($composerJson, array $dependencyAutoloadersRequired, array $dependencyAutoloadersOptional) {
+ public function content($composerJson, array $dependencyAutoloadersRequired, array $dependencyAutoloadersOptional = [], $dev = false) {
$pkg = explode('/', $composerJson['name'])[1];
$content = <<<AUTOLOAD
@@ -426,15 +470,28 @@ final class AutoloadGenerator {
AUTOLOAD;
// This switch statement handles the "autoload-common" require for sub-sub-modules.
- switch ($pkg) {
- case 'security-core':
- case 'security-csrf':
- case 'security-guard':
- case 'security-http':
- $content .= "require_once dirname(dirname(dirname(__DIR__))).'/autoload-common.php';".PHP_EOL;
- break;
- default:
- $content .= "require_once dirname(dirname(__DIR__)).'/autoload-common.php';".PHP_EOL;
+ if (!$dev) {
+ switch ($pkg) {
+ case 'security-core':
+ case 'security-csrf':
+ case 'security-guard':
+ case 'security-http':
+ $content .= "require_once dirname(dirname(dirname(__DIR__))).'/autoload-common.php';".PHP_EOL;
+ break;
+ default:
+ $content .= "require_once dirname(dirname(__DIR__)).'/autoload-common.php';".PHP_EOL;
+ }
+ } else {
+ switch ($pkg) {
+ case 'security-core':
+ case 'security-csrf':
+ case 'security-guard':
+ case 'security-http':
+ $content .= "require_once dirname(__DIR__).'/autoload.php';".PHP_EOL;
+ break;
+ default:
+ $content .= "require_once __DIR__.'/autoload.php';".PHP_EOL;
+ }
}
if (!empty($dependencyAutoloadersRequired)) {
@@ -465,4 +522,8 @@ DEPENDENCY_AUTOLOADERS_REQUIRED;
public function getFilename() {
return $this->filename;
}
+
+ public function getDevFilename() {
+ return $this->devFilename;
+ }
}
diff --git a/php-symfony3.spec b/php-symfony3.spec
index 8f62142..05ff17c 100644
--- a/php-symfony3.spec
+++ b/php-symfony3.spec
@@ -120,7 +120,7 @@
Name: php-%{composer_project}3
Version: %{github_version}
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Symfony PHP framework (version 3)
Group: Development/Libraries
@@ -2000,66 +2000,20 @@ for PKG in %{buildroot}%{symfony3_dir}/*/*; do
continue
fi
%endif
+
if [ "$(basename $PKG)" = "PhpUnit" ]; then
continue
+ elif [ "$(basename $PKG)" = "composer" ]; then
+ continue
elif [ -d $PKG ]; then
echo -e "\n>>>>>>>>>>>>>>>>>>>> ${PKG}\n"
: Create tests bootstrap
cat << BOOTSTRAP | tee bootstrap.php
<?php
-require_once '${PKG}/autoload.php';
+require_once '${PKG}/autoload-dev.php';
require_once '%{buildroot}%{symfony3_dir}/Bridge/PhpUnit/bootstrap.php';
require_once '%{buildroot}%{symfony3_dir}/vendor/autoload.php';
-
-// For require-dev "fig/link-util".
-if (in_array(basename('$PKG'), [
- 'Twig',
- 'FrameworkBundle'
-])) {
- require_once '%{phpdir}/Fig/Link/autoload.php';
-}
-
-// For require-dev or suggest "psr/cache-implementation".
-if (in_array(basename('$PKG'), [
- 'HttpFoundation',
- 'PropertyAccess',
- 'PropertyInfo',
- 'Serializer',
- 'Validator',
-])) {
- require_once '%{buildroot}%{symfony3_dir}/Component/Cache/autoload.php';
-}
-
-// For require-dev "psr/log".
-if (in_array(basename('$PKG'), [
- 'Workflow',
-])) {
- require_once '%{phpdir}/Psr/Log/autoload.php';
-}
-
-// For cache component's require-dev.
-if ('Cache' == basename('$PKG')) {
- require_once '%{phpdir}/Cache/IntegrationTests/autoload.php';
- require_once '%{phpdir}/Doctrine/Common/Cache/autoload.php';
- require_once '%{phpdir}/Doctrine/DBAL/autoload.php';
-}
-
-// For console component's (undocumented) require-dev.
-// See https://github.com/symfony/symfony/pull/23934
-if ('Console' == basename('$PKG')) {
- require_once '%{phpdir}/Symfony/Polyfill/autoload.php';
-}
-
-// For vardumper component's require-dev.
-if ('VarDumper' == basename('$PKG')) {
- require_once file_exists('%{phpdir}/Twig2/autoload.php') ? '%{phpdir}/Twig2/autoload.php' : '%{phpdir}/Twig/autoload.php';
-}
-
-// For workflow component's require-dev.
-if ('Workflow' == basename('$PKG')) {
- require_once '%{phpdir}/Psr/Cache/autoload.php';
-}
BOOTSTRAP
%{_bindir}/php -d include_path=.:${PSR0}:%{buildroot}%{phpdir}:%{phpdir} \
@@ -2112,6 +2066,7 @@ exit $RET
%{symfony3_dir}/Bridge/Doctrine
%exclude %{symfony3_dir}/Bridge/Doctrine/LICENSE
%exclude %{symfony3_dir}/Bridge/Doctrine/*.md
+%exclude %{symfony3_dir}/Bridge/Doctrine/autoload-dev.php
%exclude %{symfony3_dir}/Bridge/Doctrine/composer.json
%exclude %{symfony3_dir}/Bridge/Doctrine/phpunit.*
%exclude %{symfony3_dir}/Bridge/Doctrine/Tests
@@ -2127,6 +2082,7 @@ exit $RET
%{symfony3_dir}/Bridge/Monolog
%exclude %{symfony3_dir}/Bridge/Monolog/LICENSE
%exclude %{symfony3_dir}/Bridge/Monolog/*.md
+%exclude %{symfony3_dir}/Bridge/Monolog/autoload-dev.php
%exclude %{symfony3_dir}/Bridge/Monolog/composer.json
%exclude %{symfony3_dir}/Bridge/Monolog/phpunit.*
%exclude %{symfony3_dir}/Bridge/Monolog/Tests
@@ -2142,6 +2098,7 @@ exit $RET
%{symfony3_dir}/Bridge/PhpUnit
%exclude %{symfony3_dir}/Bridge/PhpUnit/LICENSE
%exclude %{symfony3_dir}/Bridge/PhpUnit/*.md
+%exclude %{symfony3_dir}/Bridge/PhpUnit/autoload-dev.php
%exclude %{symfony3_dir}/Bridge/PhpUnit/composer.json
%exclude %{symfony3_dir}/Bridge/PhpUnit/phpunit.*
@@ -2156,6 +2113,7 @@ exit $RET
%{symfony3_dir}/Bridge/ProxyManager
%exclude %{symfony3_dir}/Bridge/ProxyManager/LICENSE
%exclude %{symfony3_dir}/Bridge/ProxyManager/*.md
+%exclude %{symfony3_dir}/Bridge/ProxyManager/autoload-dev.php
%exclude %{symfony3_dir}/Bridge/ProxyManager/composer.json
%exclude %{symfony3_dir}/Bridge/ProxyManager/phpunit.*
%exclude %{symfony3_dir}/Bridge/ProxyManager/Tests
@@ -2171,6 +2129,7 @@ exit $RET
%{symfony3_dir}/Bridge/Twig
%exclude %{symfony3_dir}/Bridge/Twig/LICENSE
%exclude %{symfony3_dir}/Bridge/Twig/*.md
+%exclude %{symfony3_dir}/Bridge/Twig/autoload-dev.php
%exclude %{symfony3_dir}/Bridge/Twig/composer.json
%exclude %{symfony3_dir}/Bridge/Twig/phpunit.*
%exclude %{symfony3_dir}/Bridge/Twig/Tests
@@ -2185,6 +2144,7 @@ exit $RET
%{symfony3_dir}/Bundle/DebugBundle
#%%exclude %%{symfony3_dir}/Bundle/DebugBundle/*.md
+%exclude %{symfony3_dir}/Bundle/DebugBundle/autoload-dev.php
%exclude %{symfony3_dir}/Bundle/DebugBundle/composer.json
%exclude %{symfony3_dir}/Bundle/DebugBundle/LICENSE
%exclude %{symfony3_dir}/Bundle/DebugBundle/phpunit.*
@@ -2200,6 +2160,7 @@ exit $RET
%{symfony3_dir}/Bundle/FrameworkBundle
%exclude %{symfony3_dir}/Bundle/FrameworkBundle/*.md
+%exclude %{symfony3_dir}/Bundle/FrameworkBundle/autoload-dev.php
%exclude %{symfony3_dir}/Bundle/FrameworkBundle/composer.json
%exclude %{symfony3_dir}/Bundle/FrameworkBundle/LICENSE
%exclude %{symfony3_dir}/Bundle/FrameworkBundle/phpunit.*
@@ -2215,6 +2176,7 @@ exit $RET
%{symfony3_dir}/Bundle/SecurityBundle
%exclude %{symfony3_dir}/Bundle/SecurityBundle/*.md
+%exclude %{symfony3_dir}/Bundle/SecurityBundle/autoload-dev.php
%exclude %{symfony3_dir}/Bundle/SecurityBundle/composer.json
%exclude %{symfony3_dir}/Bundle/SecurityBundle/LICENSE
%exclude %{symfony3_dir}/Bundle/SecurityBundle/phpunit.*
@@ -2230,6 +2192,7 @@ exit $RET
%{symfony3_dir}/Bundle/TwigBundle
%exclude %{symfony3_dir}/Bundle/TwigBundle/*.md
+%exclude %{symfony3_dir}/Bundle/TwigBundle/autoload-dev.php
%exclude %{symfony3_dir}/Bundle/TwigBundle/composer.json
%exclude %{symfony3_dir}/Bundle/TwigBundle/LICENSE
%exclude %{symfony3_dir}/Bundle/TwigBundle/phpunit.*
@@ -2246,6 +2209,7 @@ exit $RET
%{symfony3_dir}/Bundle/WebProfilerBundle
%exclude %{symfony3_dir}/Bundle/WebProfilerBundle/*.md
+%exclude %{symfony3_dir}/Bundle/WebProfilerBundle/autoload-dev.php
%exclude %{symfony3_dir}/Bundle/WebProfilerBundle/composer.json
%exclude %{symfony3_dir}/Bundle/WebProfilerBundle/LICENSE
%exclude %{symfony3_dir}/Bundle/WebProfilerBundle/phpunit.*
@@ -2262,6 +2226,7 @@ exit $RET
%{symfony3_dir}/Bundle/WebServerBundle
%exclude %{symfony3_dir}/Bundle/WebServerBundle/*.md
+%exclude %{symfony3_dir}/Bundle/WebServerBundle/autoload-dev.php
%exclude %{symfony3_dir}/Bundle/WebServerBundle/composer.json
%exclude %{symfony3_dir}/Bundle/WebServerBundle/LICENSE
%exclude %{symfony3_dir}/Bundle/WebServerBundle/phpunit.*
@@ -2278,6 +2243,7 @@ exit $RET
%{symfony3_dir}/Component/Asset
%exclude %{symfony3_dir}/Component/Asset/LICENSE
%exclude %{symfony3_dir}/Component/Asset/*.md
+%exclude %{symfony3_dir}/Component/Asset/autoload-dev.php
%exclude %{symfony3_dir}/Component/Asset/composer.json
%exclude %{symfony3_dir}/Component/Asset/phpunit.*
%exclude %{symfony3_dir}/Component/Asset/Tests
@@ -2293,6 +2259,7 @@ exit $RET
%{symfony3_dir}/Component/BrowserKit
%exclude %{symfony3_dir}/Component/BrowserKit/LICENSE
%exclude %{symfony3_dir}/Component/BrowserKit/*.md
+%exclude %{symfony3_dir}/Component/BrowserKit/autoload-dev.php
%exclude %{symfony3_dir}/Component/BrowserKit/composer.json
%exclude %{symfony3_dir}/Component/BrowserKit/phpunit.*
%exclude %{symfony3_dir}/Component/BrowserKit/Tests
@@ -2308,6 +2275,7 @@ exit $RET
%{symfony3_dir}/Component/Cache
%exclude %{symfony3_dir}/Component/Cache/LICENSE
%exclude %{symfony3_dir}/Component/Cache/*.md
+%exclude %{symfony3_dir}/Component/Cache/autoload-dev.php
%exclude %{symfony3_dir}/Component/Cache/composer.json
%exclude %{symfony3_dir}/Component/Cache/phpunit.*
%exclude %{symfony3_dir}/Component/Cache/Tests
@@ -2323,6 +2291,7 @@ exit $RET
%{symfony3_dir}/Component/ClassLoader
%exclude %{symfony3_dir}/Component/ClassLoader/LICENSE
%exclude %{symfony3_dir}/Component/ClassLoader/*.md
+%exclude %{symfony3_dir}/Component/ClassLoader/autoload-dev.php
%exclude %{symfony3_dir}/Component/ClassLoader/composer.json
%exclude %{symfony3_dir}/Component/ClassLoader/phpunit.*
%exclude %{symfony3_dir}/Component/ClassLoader/Tests
@@ -2338,6 +2307,7 @@ exit $RET
%{symfony3_dir}/Component/Config
%exclude %{symfony3_dir}/Component/Config/LICENSE
%exclude %{symfony3_dir}/Component/Config/*.md
+%exclude %{symfony3_dir}/Component/Config/autoload-dev.php
%exclude %{symfony3_dir}/Component/Config/composer.json
%exclude %{symfony3_dir}/Component/Config/phpunit.*
%exclude %{symfony3_dir}/Component/Config/Tests
@@ -2353,6 +2323,7 @@ exit $RET
%{symfony3_dir}/Component/Console
%exclude %{symfony3_dir}/Component/Console/LICENSE
%exclude %{symfony3_dir}/Component/Console/*.md
+%exclude %{symfony3_dir}/Component/Console/autoload-dev.php
%exclude %{symfony3_dir}/Component/Console/composer.json
%exclude %{symfony3_dir}/Component/Console/phpunit.*
%exclude %{symfony3_dir}/Component/Console/Tests
@@ -2368,6 +2339,7 @@ exit $RET
%{symfony3_dir}/Component/CssSelector
%exclude %{symfony3_dir}/Component/CssSelector/LICENSE
%exclude %{symfony3_dir}/Component/CssSelector/*.md
+%exclude %{symfony3_dir}/Component/CssSelector/autoload-dev.php
%exclude %{symfony3_dir}/Component/CssSelector/composer.json
%exclude %{symfony3_dir}/Component/CssSelector/phpunit.*
%exclude %{symfony3_dir}/Component/CssSelector/Tests
@@ -2383,6 +2355,7 @@ exit $RET
%{symfony3_dir}/Component/Debug
%exclude %{symfony3_dir}/Component/Debug/LICENSE
%exclude %{symfony3_dir}/Component/Debug/*.md
+%exclude %{symfony3_dir}/Component/Debug/autoload-dev.php
%exclude %{symfony3_dir}/Component/Debug/composer.json
%exclude %{symfony3_dir}/Component/Debug/phpunit.*
%exclude %{symfony3_dir}/Component/Debug/Tests
@@ -2399,6 +2372,7 @@ exit $RET
%{symfony3_dir}/Component/DependencyInjection
%exclude %{symfony3_dir}/Component/DependencyInjection/LICENSE
%exclude %{symfony3_dir}/Component/DependencyInjection/*.md
+%exclude %{symfony3_dir}/Component/DependencyInjection/autoload-dev.php
%exclude %{symfony3_dir}/Component/DependencyInjection/composer.json
%exclude %{symfony3_dir}/Component/DependencyInjection/phpunit.*
%exclude %{symfony3_dir}/Component/DependencyInjection/Tests
@@ -2414,6 +2388,7 @@ exit $RET
%{symfony3_dir}/Component/Dotenv
%exclude %{symfony3_dir}/Component/Dotenv/LICENSE
%exclude %{symfony3_dir}/Component/Dotenv/*.md
+%exclude %{symfony3_dir}/Component/Dotenv/autoload-dev.php
%exclude %{symfony3_dir}/Component/Dotenv/composer.json
%exclude %{symfony3_dir}/Component/Dotenv/phpunit.*
%exclude %{symfony3_dir}/Component/Dotenv/Tests
@@ -2429,6 +2404,7 @@ exit $RET
%{symfony3_dir}/Component/DomCrawler
%exclude %{symfony3_dir}/Component/DomCrawler/LICENSE
%exclude %{symfony3_dir}/Component/DomCrawler/*.md
+%exclude %{symfony3_dir}/Component/DomCrawler/autoload-dev.php
%exclude %{symfony3_dir}/Component/DomCrawler/composer.json
%exclude %{symfony3_dir}/Component/DomCrawler/phpunit.*
%exclude %{symfony3_dir}/Component/DomCrawler/Tests
@@ -2444,6 +2420,7 @@ exit $RET
%{symfony3_dir}/Component/EventDispatcher
%exclude %{symfony3_dir}/Component/EventDispatcher/LICENSE
%exclude %{symfony3_dir}/Component/EventDispatcher/*.md
+%exclude %{symfony3_dir}/Component/EventDispatcher/autoload-dev.php
%exclude %{symfony3_dir}/Component/EventDispatcher/composer.json
%exclude %{symfony3_dir}/Component/EventDispatcher/phpunit.*
%exclude %{symfony3_dir}/Component/EventDispatcher/Tests
@@ -2459,6 +2436,7 @@ exit $RET
%{symfony3_dir}/Component/ExpressionLanguage
%exclude %{symfony3_dir}/Component/ExpressionLanguage/LICENSE
%exclude %{symfony3_dir}/Component/ExpressionLanguage/*.md
+%exclude %{symfony3_dir}/Component/ExpressionLanguage/autoload-dev.php
%exclude %{symfony3_dir}/Component/ExpressionLanguage/composer.json
%exclude %{symfony3_dir}/Component/ExpressionLanguage/phpunit.*
%exclude %{symfony3_dir}/Component/ExpressionLanguage/Tests
@@ -2474,6 +2452,7 @@ exit $RET
%{symfony3_dir}/Component/Filesystem
%exclude %{symfony3_dir}/Component/Filesystem/LICENSE
%exclude %{symfony3_dir}/Component/Filesystem/*.md
+%exclude %{symfony3_dir}/Component/Filesystem/autoload-dev.php
%exclude %{symfony3_dir}/Component/Filesystem/composer.json
%exclude %{symfony3_dir}/Component/Filesystem/phpunit.*
%exclude %{symfony3_dir}/Component/Filesystem/Tests
@@ -2489,6 +2468,7 @@ exit $RET
%{symfony3_dir}/Component/Finder
%exclude %{symfony3_dir}/Component/Finder/LICENSE
%exclude %{symfony3_dir}/Component/Finder/*.md
+%exclude %{symfony3_dir}/Component/Finder/autoload-dev.php
%exclude %{symfony3_dir}/Component/Finder/composer.json
%exclude %{symfony3_dir}/Component/Finder/phpunit.*
%exclude %{symfony3_dir}/Component/Finder/Tests
@@ -2504,6 +2484,7 @@ exit $RET
%{symfony3_dir}/Component/Form
%exclude %{symfony3_dir}/Component/Form/LICENSE
%exclude %{symfony3_dir}/Component/Form/*.md
+%exclude %{symfony3_dir}/Component/Form/autoload-dev.php
%exclude %{symfony3_dir}/Component/Form/composer.json
%exclude %{symfony3_dir}/Component/Form/phpunit.*
%exclude %{symfony3_dir}/Component/Form/Tests
@@ -2519,6 +2500,7 @@ exit $RET
%{symfony3_dir}/Component/HttpFoundation
%exclude %{symfony3_dir}/Component/HttpFoundation/LICENSE
%exclude %{symfony3_dir}/Component/HttpFoundation/*.md
+%exclude %{symfony3_dir}/Component/HttpFoundation/autoload-dev.php
%exclude %{symfony3_dir}/Component/HttpFoundation/composer.json
%exclude %{symfony3_dir}/Component/HttpFoundation/phpunit.*
%exclude %{symfony3_dir}/Component/HttpFoundation/Tests
@@ -2534,6 +2516,7 @@ exit $RET
%{symfony3_dir}/Component/HttpKernel
%exclude %{symfony3_dir}/Component/HttpKernel/LICENSE
%exclude %{symfony3_dir}/Component/HttpKernel/*.md
+%exclude %{symfony3_dir}/Component/HttpKernel/autoload-dev.php
%exclude %{symfony3_dir}/Component/HttpKernel/composer.json
%exclude %{symfony3_dir}/Component/HttpKernel/phpunit.*
%exclude %{symfony3_dir}/Component/HttpKernel/Tests
@@ -2549,6 +2532,7 @@ exit $RET
%{symfony3_dir}/Component/Inflector
%exclude %{symfony3_dir}/Component/Inflector/LICENSE
%exclude %{symfony3_dir}/Component/Inflector/*.md
+%exclude %{symfony3_dir}/Component/Inflector/autoload-dev.php
%exclude %{symfony3_dir}/Component/Inflector/composer.json
%exclude %{symfony3_dir}/Component/Inflector/phpunit.*
%exclude %{symfony3_dir}/Component/Inflector/Tests
@@ -2564,6 +2548,7 @@ exit $RET
%{symfony3_dir}/Component/Intl
%exclude %{symfony3_dir}/Component/Intl/LICENSE
%exclude %{symfony3_dir}/Component/Intl/*.md
+%exclude %{symfony3_dir}/Component/Intl/autoload-dev.php
%exclude %{symfony3_dir}/Component/Intl/composer.json
%exclude %{symfony3_dir}/Component/Intl/phpunit.*
%exclude %{symfony3_dir}/Component/Intl/Tests
@@ -2579,6 +2564,7 @@ exit $RET
%{symfony3_dir}/Component/Ldap
%exclude %{symfony3_dir}/Component/Ldap/LICENSE
%exclude %{symfony3_dir}/Component/Ldap/*.md
+%exclude %{symfony3_dir}/Component/Ldap/autoload-dev.php
%exclude %{symfony3_dir}/Component/Ldap/composer.json
%exclude %{symfony3_dir}/Component/Ldap/phpunit.*
%exclude %{symfony3_dir}/Component/Ldap/Tests
@@ -2594,6 +2580,7 @@ exit $RET
%{symfony3_dir}/Component/OptionsResolver
%exclude %{symfony3_dir}/Component/OptionsResolver/LICENSE
%exclude %{symfony3_dir}/Component/OptionsResolver/*.md
+%exclude %{symfony3_dir}/Component/OptionsResolver/autoload-dev.php
%exclude %{symfony3_dir}/Component/OptionsResolver/composer.json
%exclude %{symfony3_dir}/Component/OptionsResolver/phpunit.*
%exclude %{symfony3_dir}/Component/OptionsResolver/Tests
@@ -2609,6 +2596,7 @@ exit $RET
%{symfony3_dir}/Component/Process
%exclude %{symfony3_dir}/Component/Process/LICENSE
%exclude %{symfony3_dir}/Component/Process/*.md
+%exclude %{symfony3_dir}/Component/Process/autoload-dev.php
%exclude %{symfony3_dir}/Component/Process/composer.json
%exclude %{symfony3_dir}/Component/Process/phpunit.*
%exclude %{symfony3_dir}/Component/Process/Tests
@@ -2624,6 +2612,7 @@ exit $RET
%{symfony3_dir}/Component/PropertyAccess
%exclude %{symfony3_dir}/Component/PropertyAccess/LICENSE
%exclude %{symfony3_dir}/Component/PropertyAccess/*.md
+%exclude %{symfony3_dir}/Component/PropertyAccess/autoload-dev.php
%exclude %{symfony3_dir}/Component/PropertyAccess/composer.json
%exclude %{symfony3_dir}/Component/PropertyAccess/phpunit.*
%exclude %{symfony3_dir}/Component/PropertyAccess/Tests
@@ -2639,6 +2628,7 @@ exit $RET
%{symfony3_dir}/Component/PropertyInfo
%exclude %{symfony3_dir}/Component/PropertyInfo/LICENSE
%exclude %{symfony3_dir}/Component/PropertyInfo/*.md
+%exclude %{symfony3_dir}/Component/PropertyInfo/autoload-dev.php
%exclude %{symfony3_dir}/Component/PropertyInfo/composer.json
%exclude %{symfony3_dir}/Component/PropertyInfo/phpunit.*
%exclude %{symfony3_dir}/Component/PropertyInfo/Tests
@@ -2654,6 +2644,7 @@ exit $RET
%{symfony3_dir}/Component/Routing
%exclude %{symfony3_dir}/Component/Routing/LICENSE
%exclude %{symfony3_dir}/Component/Routing/*.md
+%exclude %{symfony3_dir}/Component/Routing/autoload-dev.php
%exclude %{symfony3_dir}/Component/Routing/composer.json
%exclude %{symfony3_dir}/Component/Routing/phpunit.*
%exclude %{symfony3_dir}/Component/Routing/Tests
@@ -2669,12 +2660,14 @@ exit $RET
%{symfony3_dir}/Component/Security
%exclude %{symfony3_dir}/Component/Security/LICENSE
%exclude %{symfony3_dir}/Component/Security/*.md
+%exclude %{symfony3_dir}/Component/Security/autoload-dev.php
%exclude %{symfony3_dir}/Component/Security/composer.json
%exclude %{symfony3_dir}/Component/Security/phpunit.*
%exclude %{symfony3_dir}/Component/Security/*/phpunit.*
%exclude %{symfony3_dir}/Component/Security/*/Tests
%exclude %{symfony3_dir}/Component/Security/*/LICENSE
%exclude %{symfony3_dir}/Component/Security/*/*.md
+%exclude %{symfony3_dir}/Component/Security/*/autoload-dev.php
%exclude %{symfony3_dir}/Component/Security/*/composer.json
# ------------------------------------------------------------------------------
@@ -2688,6 +2681,7 @@ exit $RET
%{symfony3_dir}/Component/Serializer
%exclude %{symfony3_dir}/Component/Serializer/LICENSE
%exclude %{symfony3_dir}/Component/Serializer/*.md
+%exclude %{symfony3_dir}/Component/Serializer/autoload-dev.php
%exclude %{symfony3_dir}/Component/Serializer/composer.json
%exclude %{symfony3_dir}/Component/Serializer/phpunit.*
%exclude %{symfony3_dir}/Component/Serializer/Tests
@@ -2703,6 +2697,7 @@ exit $RET
%{symfony3_dir}/Component/Stopwatch
%exclude %{symfony3_dir}/Component/Stopwatch/LICENSE
%exclude %{symfony3_dir}/Component/Stopwatch/*.md
+%exclude %{symfony3_dir}/Component/Stopwatch/autoload-dev.php
%exclude %{symfony3_dir}/Component/Stopwatch/composer.json
%exclude %{symfony3_dir}/Component/Stopwatch/phpunit.*
%exclude %{symfony3_dir}/Component/Stopwatch/Tests
@@ -2718,6 +2713,7 @@ exit $RET
%{symfony3_dir}/Component/Templating
%exclude %{symfony3_dir}/Component/Templating/LICENSE
%exclude %{symfony3_dir}/Component/Templating/*.md
+%exclude %{symfony3_dir}/Component/Templating/autoload-dev.php
%exclude %{symfony3_dir}/Component/Templating/composer.json
%exclude %{symfony3_dir}/Component/Templating/phpunit.*
%exclude %{symfony3_dir}/Component/Templating/Tests
@@ -2733,6 +2729,7 @@ exit $RET
%{symfony3_dir}/Component/Translation
%exclude %{symfony3_dir}/Component/Translation/LICENSE
%exclude %{symfony3_dir}/Component/Translation/*.md
+%exclude %{symfony3_dir}/Component/Translation/autoload-dev.php
%exclude %{symfony3_dir}/Component/Translation/composer.json
%exclude %{symfony3_dir}/Component/Translation/phpunit.*
%exclude %{symfony3_dir}/Component/Translation/Tests
@@ -2748,6 +2745,7 @@ exit $RET
%{symfony3_dir}/Component/Validator
%exclude %{symfony3_dir}/Component/Validator/LICENSE
%exclude %{symfony3_dir}/Component/Validator/*.md
+%exclude %{symfony3_dir}/Component/Validator/autoload-dev.php
%exclude %{symfony3_dir}/Component/Validator/composer.json
%exclude %{symfony3_dir}/Component/Validator/phpunit.*
%exclude %{symfony3_dir}/Component/Validator/Tests
@@ -2763,6 +2761,7 @@ exit $RET
%{symfony3_dir}/Component/VarDumper
%exclude %{symfony3_dir}/Component/VarDumper/LICENSE
%exclude %{symfony3_dir}/Component/VarDumper/*.md
+%exclude %{symfony3_dir}/Component/VarDumper/autoload-dev.php
%exclude %{symfony3_dir}/Component/VarDumper/composer.json
%exclude %{symfony3_dir}/Component/VarDumper/phpunit.*
%exclude %{symfony3_dir}/Component/VarDumper/Tests
@@ -2778,6 +2777,7 @@ exit $RET
%{symfony3_dir}/Component/WebLink
%exclude %{symfony3_dir}/Component/WebLink/LICENSE
%exclude %{symfony3_dir}/Component/WebLink/*.md
+%exclude %{symfony3_dir}/Component/WebLink/autoload-dev.php
%exclude %{symfony3_dir}/Component/WebLink/composer.json
%exclude %{symfony3_dir}/Component/WebLink/phpunit.*
%exclude %{symfony3_dir}/Component/WebLink/Tests
@@ -2793,6 +2793,7 @@ exit $RET
%{symfony3_dir}/Component/Workflow
%exclude %{symfony3_dir}/Component/Workflow/LICENSE
%exclude %{symfony3_dir}/Component/Workflow/*.md
+%exclude %{symfony3_dir}/Component/Workflow/autoload-dev.php
%exclude %{symfony3_dir}/Component/Workflow/composer.json
%exclude %{symfony3_dir}/Component/Workflow/phpunit.*
%exclude %{symfony3_dir}/Component/Workflow/Tests
@@ -2808,6 +2809,7 @@ exit $RET
%{symfony3_dir}/Component/Yaml
%exclude %{symfony3_dir}/Component/Yaml/LICENSE
%exclude %{symfony3_dir}/Component/Yaml/*.md
+%exclude %{symfony3_dir}/Component/Yaml/autoload-dev.php
%exclude %{symfony3_dir}/Component/Yaml/composer.json
%exclude %{symfony3_dir}/Component/Yaml/phpunit.*
%exclude %{symfony3_dir}/Component/Yaml/Tests
@@ -2815,6 +2817,10 @@ exit $RET
# ##############################################################################
%changelog
+* Sat Aug 19 2017 Shawn Iwinski <shawn@iwin.ski> - 3.3.6-4
+- Dynamically generate dev autoloaders
+- Add build conditionals to make backporting to remirepo easier
+
* Fri Aug 18 2017 Shawn Iwinski <shawn@iwin.ski> - 3.3.6-3
- Fix some tests' dev requires (thanks Remi!)