summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json130
-rw-r--r--php-symfony3.spec14
2 files changed, 141 insertions, 3 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..607d4f2
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,130 @@
+{
+ "name": "symfony/symfony",
+ "type": "library",
+ "description": "The Symfony PHP framework",
+ "keywords": ["framework"],
+ "homepage": "https://symfony.com",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "require": {
+ "php": ">=5.5.9",
+ "doctrine/common": "~2.4",
+ "twig/twig": "~1.28|~2.0",
+ "psr/cache": "~1.0",
+ "psr/log": "~1.0",
+ "symfony/polyfill-intl-icu": "~1.0",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php56": "~1.0",
+ "symfony/polyfill-php70": "~1.0",
+ "symfony/polyfill-util": "~1.0"
+ },
+ "replace": {
+ "symfony/asset": "self.version",
+ "symfony/browser-kit": "self.version",
+ "symfony/cache": "self.version",
+ "symfony/class-loader": "self.version",
+ "symfony/config": "self.version",
+ "symfony/console": "self.version",
+ "symfony/css-selector": "self.version",
+ "symfony/dependency-injection": "self.version",
+ "symfony/debug": "self.version",
+ "symfony/debug-bundle": "self.version",
+ "symfony/doctrine-bridge": "self.version",
+ "symfony/dom-crawler": "self.version",
+ "symfony/event-dispatcher": "self.version",
+ "symfony/expression-language": "self.version",
+ "symfony/filesystem": "self.version",
+ "symfony/finder": "self.version",
+ "symfony/form": "self.version",
+ "symfony/framework-bundle": "self.version",
+ "symfony/http-foundation": "self.version",
+ "symfony/http-kernel": "self.version",
+ "symfony/inflector": "self.version",
+ "symfony/intl": "self.version",
+ "symfony/ldap": "self.version",
+ "symfony/monolog-bridge": "self.version",
+ "symfony/options-resolver": "self.version",
+ "symfony/process": "self.version",
+ "symfony/property-access": "self.version",
+ "symfony/property-info": "self.version",
+ "symfony/proxy-manager-bridge": "self.version",
+ "symfony/routing": "self.version",
+ "symfony/security": "self.version",
+ "symfony/security-core": "self.version",
+ "symfony/security-csrf": "self.version",
+ "symfony/security-guard": "self.version",
+ "symfony/security-http": "self.version",
+ "symfony/security-bundle": "self.version",
+ "symfony/serializer": "self.version",
+ "symfony/stopwatch": "self.version",
+ "symfony/templating": "self.version",
+ "symfony/translation": "self.version",
+ "symfony/twig-bridge": "self.version",
+ "symfony/twig-bundle": "self.version",
+ "symfony/validator": "self.version",
+ "symfony/var-dumper": "self.version",
+ "symfony/web-profiler-bundle": "self.version",
+ "symfony/workflow": "self.version",
+ "symfony/yaml": "self.version"
+ },
+ "require-dev": {
+ "cache/integration-tests": "dev-master",
+ "doctrine/cache": "~1.6",
+ "doctrine/data-fixtures": "1.0.*",
+ "doctrine/dbal": "~2.4",
+ "doctrine/orm": "~2.4,>=2.4.5",
+ "doctrine/doctrine-bundle": "~1.4",
+ "monolog/monolog": "~1.11",
+ "ocramius/proxy-manager": "~0.4|~1.0|~2.0",
+ "predis/predis": "~1.0",
+ "egulias/email-validator": "~1.2,>=1.2.8|~2.0",
+ "symfony/phpunit-bridge": "~3.2",
+ "symfony/polyfill-apcu": "~1.1",
+ "symfony/security-acl": "~2.8|~3.0",
+ "phpdocumentor/reflection-docblock": "^3.0",
+ "sensio/framework-extra-bundle": "^3.0.2"
+ },
+ "conflict": {
+ "phpdocumentor/reflection-docblock": "<3.0",
+ "phpdocumentor/type-resolver": "<0.2.0",
+ "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0"
+ },
+ "provide": {
+ "psr/cache-implementation": "1.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Bridge\\Doctrine\\": "src/Symfony/Bridge/Doctrine/",
+ "Symfony\\Bridge\\Monolog\\": "src/Symfony/Bridge/Monolog/",
+ "Symfony\\Bridge\\ProxyManager\\": "src/Symfony/Bridge/ProxyManager/",
+ "Symfony\\Bridge\\Swiftmailer\\": "src/Symfony/Bridge/Swiftmailer/",
+ "Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/",
+ "Symfony\\Bundle\\": "src/Symfony/Bundle/",
+ "Symfony\\Component\\": "src/Symfony/Component/"
+ },
+ "classmap": [
+ "src/Symfony/Component/Intl/Resources/stubs"
+ ],
+ "exclude-from-classmap": [
+ "**/Tests/"
+ ]
+ },
+ "autoload-dev": {
+ "files": [ "src/Symfony/Component/VarDumper/Resources/functions/dump.php" ]
+ },
+ "minimum-stability": "dev",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.2-dev"
+ }
+ }
+}
diff --git a/php-symfony3.spec b/php-symfony3.spec
index be9ce46..5734622 100644
--- a/php-symfony3.spec
+++ b/php-symfony3.spec
@@ -105,7 +105,7 @@
Name: php-%{composer_project}3
Version: %{github_version}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Symfony PHP framework (version 3)
Group: Development/Libraries
@@ -720,6 +720,9 @@ Requires: php-tokenizer
Suggests: php-pecl(apcu)
Suggests: php-xcache
%endif
+# Workaround issue with package without version constraint on symfony/class-loader
+# Temporary, tracked on https://fedoraproject.org/wiki/SIGs/PHP/TODO
+Requires: php-symfony-class-loader
# Composer
Provides: php-composer(%{composer_vendor}/class-loader) = %{version}
@@ -782,9 +785,9 @@ Summary: Symfony Console Component (version 3)
URL: http://symfony.com/doc/%{symfony3_doc_ver}/components/console.html
# composer.json
-%if 0%{?fedora}
-Suggests: php-composer(%{composer_vendor}/debug) = %{version}
+Requires: php-composer(%{composer_vendor}/debug) = %{version}
# composer.json: optional
+%if 0%{?fedora}
Suggests: php-composer(%{composer_vendor}/event-dispatcher) = %{version}
Suggests: php-composer(%{composer_vendor}/filesystem) = %{version}
Suggests: php-composer(%{composer_vendor}/process) = %{version}
@@ -2577,6 +2580,11 @@ exit $RET
# ##############################################################################
%changelog
+* Wed May 10 2017 Remi Collet <remi@remirepo.net> - 3.2.8-2
+- add missing dependency on debug for console
+- add depdencency on php-symfony-class-loader for class-loader
+ to workaround issue with package without version constraint
+
* Mon May 8 2017 Remi Collet <remi@remirepo.net> - 3.2.8-1
- backport for remi repository