summaryrefslogtreecommitdiffstats
path: root/php-symfony4.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-symfony4.spec')
-rw-r--r--php-symfony4.spec523
1 files changed, 422 insertions, 101 deletions
diff --git a/php-symfony4.spec b/php-symfony4.spec
index af4485d..8653e58 100644
--- a/php-symfony4.spec
+++ b/php-symfony4.spec
@@ -13,8 +13,8 @@
%global github_owner symfony
%global github_name symfony
-%global github_version 4.2.11
-%global github_commit 2ba6f17744ee8649ac107039f64d1ee4c959bf32
+%global github_version 4.3.6
+%global github_commit 7e98605f0e11979e6735dfefc6dad11977d8f5e7
%global composer_vendor symfony
%global composer_project symfony
@@ -25,8 +25,8 @@
# NOTE: Min and max versions added to restrict to single major version
%global cache_integration_tests_min_ver 0
%global cache_integration_tests_max_ver 1
-# "doctrine/annotations": "~1.0"
-%global doctrine_annotations_min_ver 1.0
+# "doctrine/annotations": "~1.7"
+%global doctrine_annotations_min_ver 1.7
%global doctrine_annotations_max_ver 2.0
# "doctrine/cache": "~1.6"
%global doctrine_cache_min_ver 1.6
@@ -56,8 +56,8 @@
# "doctrine/orm": "~2.4,>=2.4.5"
%global doctrine_orm_min_ver 2.4.5
%global doctrine_orm_max_ver 3.0
-# "egulias/email-validator": "~1.2,>=1.2.8|~2.0"
-%global email_validator_min_ver 1.2.8
+# "egulias/email-validator": "^2.1.10"
+%global email_validator_min_ver 2.1.10
%global email_validator_max_ver 3.0
# "fig/link-util": "^1.0"
%global fig_link_util_min_ver 1.0
@@ -87,21 +87,39 @@
# "psr/simple-cache": "^1.0"
%global psr_simple_cache_min_ver 1.0
%global psr_simple_cache_max_ver 2.0
+# "symfony/polyfill-intl-ctype": "~1.8"
# "symfony/polyfill-intl-icu": "~1.0"
+# "symfony/polyfill-intl-idn": "~1.10"
# "symfony/polyfill-mbstring": "~1.0"
-# "symfony/polyfill-php72": "~1.0"
-%global symfony_polyfill_min_ver 1.0
+# "symfony/polyfill-php72": "~1.5"
+# "symfony/polyfill-php73": "~1.11"
+%global symfony_polyfill_min_ver 1.11
%global symfony_polyfill_max_ver 2.0
# "symfony/security-acl": "~2.8|~3.0"
# NOTE: Min version not 4.0 to restrict to single major version
%global symfony_security_acl_min_ver 2.8
%global symfony_security_acl_max_ver 3.0
-# "symfony/contracts": "~1.1.1"
-%global symfony_contracts_min_ver 1.1.1
+# "symfony/*-contracts": "~1.1.7"
+%global symfony_contracts_min_ver 1.1.7
%global symfony_contracts_max_ver 2
# "twig/twig": "^1.41|^2.10"
%global twig_min_ver 1.41
%global twig_max_ver 3.0
+# "masterminds/html5": "^2.6"
+%global masterminds_min_ver 2.6
+%global masterminds_max_ver 3.0
+# "masterminds/html5": "^2.6"
+%global masterminds_min_ver 2.6
+%global masterminds_max_ver 3
+# "mongodb/mongodb": "~1.1"
+%global mongodb_min_ver 1.1
+%global mongodb_max_ver 2
+# "nyholm/psr7": "^1.0",
+%global nyholm_psr7_min_ver 1.0
+%global nyholm_psr7_max_ver 2
+# "psr/http-client": "^1.0",
+%global psr_http_client_min_ver 1.0
+%global psr_http_client_max_ver 2
# Build using "--without tests" to disable tests
%global with_tests 0%{?_with_tests:1}
@@ -118,7 +136,7 @@
Name: php-%{composer_project}4
Version: %{github_version}
-Release: 2%{?github_prerelease:.%{github_prerelease}}%{?dist}
+Release: 1%{?github_prerelease:.%{github_prerelease}}%{?dist}
Summary: Symfony PHP framework (version 4)
# MIT and CC-BY-SA:
@@ -138,6 +156,37 @@ BuildArch: noarch
BuildRequires: composer
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+BuildRequires:(php-composer(cache/integration-tests) >= %{cache_integration_tests_min_ver} with php-composer(cache/integration-tests) < %{cache_integration_tests_max_ver})
+BuildRequires:(php-composer(doctrine/annotations) >= %{doctrine_annotations_min_ver} with php-composer(doctrine/annotations) < %{doctrine_annotations_max_ver})
+BuildRequires:(php-composer(doctrine/cache) >= %{doctrine_cache_min_ver} with php-composer(doctrine/cache) < %{doctrine_cache_max_ver})
+BuildRequires:(php-composer(doctrine/collections) >= %{doctrine_collections_min_ver} with php-composer(doctrine/collections) < %{doctrine_collections_max_ver})
+BuildRequires:(php-composer(doctrine/event-manager) >= %{doctrine_event_manager_min_ver} with php-composer(doctrine/event-manager) < %{doctrine_event_manager_max_ver})
+BuildRequires:(php-composer(doctrine/persistence) >= %{doctrine_persistence_min_ver} with php-composer(doctrine/persistence) < %{doctrine_persistence_max_ver})
+BuildRequires:(php-composer(doctrine/reflection) >= %{doctrine_reflection_min_ver} with php-composer(doctrine/reflection) < %{doctrine_reflection_max_ver})
+BuildRequires:(php-composer(doctrine/data-fixtures) >= %{doctrine_datafixtures_min_ver} with php-composer(doctrine/data-fixtures) < %{doctrine_datafixtures_max_ver})
+BuildRequires:(php-composer(doctrine/dbal) >= %{doctrine_dbal_min_ver} with php-composer(doctrine/dbal) < %{doctrine_dbal_max_ver})
+BuildRequires:(php-composer(doctrine/doctrine-bundle) >= %{doctrine_bundle_min_ver} with php-composer(doctrine/doctrine-bundle) < %{doctrine_bundle_max_ver})
+BuildRequires:(php-composer(doctrine/orm) >= %{doctrine_orm_min_ver} with php-composer(doctrine/orm) < %{doctrine_orm_max_ver})
+BuildRequires:(php-composer(egulias/email-validator) >= %{email_validator_min_ver} with php-composer(egulias/email-validator) < %{email_validator_max_ver})
+BuildRequires:(php-composer(fig/link-util) >= %{fig_link_util_min_ver} with php-composer(fig/link-util) < %{fig_link_util_max_ver})
+BuildRequires:(php-composer(masterminds/html5) >= %{masterminds_min_ver} with php-composer(masterminds/html5) < %{masterminds_max_ver})
+BuildRequires:(php-composer(mongodb/mongodb) >= %{mongodb_min_ver} with php-composer(mongodb/mongodb) < %{mongodb_max_ver})
+BuildRequires:(php-composer(monolog/monolog) >= %{monolog_min_ver} with php-composer(monolog/monolog) < %{monolog_max_ver})
+BuildRequires:(php-composer(nyholm/psr7) >= %{nyholm_psr7_min_ver} with php-composer(nyholm/psr7) < %{nyholm_psr7_max_ver})
+BuildRequires:(php-composer(ocramius/proxy-manager) >= %{proxy_manager_min_ver} with php-composer(ocramius/proxy-manager) < %{proxy_manager_max_ver})
+BuildRequires:(php-composer(phpdocumentor/reflection-docblock) >= %{phpdocumentor_reflection_docblock_min_ver} with php-composer(phpdocumentor/reflection-docblock) < %{phpdocumentor_reflection_docblock_max_ver})
+BuildRequires:(php-composer(psr/cache) >= %{psr_cache_min_ver} with php-composer(psr/cache) < %{psr_cache_max_ver})
+BuildRequires:(php-composer(psr/container) >= %{psr_container_min_ver} with php-composer(psr/container) < %{psr_container_max_ver})
+BuildRequires:(php-composer(psr/http-client) >= %{psr_http_client_min_ver} with php-composer(psr/http-client) < %{psr_http_client_max_ver})
+BuildRequires:(php-composer(psr/link) >= %{psr_link_min_ver} with php-composer(psr/link) < %{psr_link_max_ver})
+BuildRequires:(php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
+BuildRequires:(php-composer(psr/simple-cache) >= %{psr_simple_cache_min_ver} with php-composer(psr/simple-cache) < %{psr_simple_cache_max_ver})
+BuildRequires:(php-composer(%{composer_vendor}/polyfill) >= %{symfony_polyfill_min_ver} with php-composer(%{composer_vendor}/polyfill) < %{symfony_polyfill_max_ver})
+BuildRequires:(php-composer(%{composer_vendor}/security-acl) >= %{symfony_security_acl_min_ver} with php-composer(%{composer_vendor}/security-acl) < %{symfony_security_acl_max_ver})
+BuildRequires:(php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver})
+BuildRequires:(php-composer(twig/twig) >= %{twig_min_ver} with php-composer(twig/twig) < %{twig_max_ver})
+%else
BuildRequires: php-composer(cache/integration-tests) < %{cache_integration_tests_max_ver}
BuildRequires: php-composer(cache/integration-tests) >= %{cache_integration_tests_min_ver}
BuildRequires: php-composer(doctrine/annotations) < %{doctrine_annotations_max_ver}
@@ -164,18 +213,24 @@ BuildRequires: php-composer(egulias/email-validator) < %{email_validator_max_ve
BuildRequires: php-composer(egulias/email-validator) >= %{email_validator_min_ver}
BuildRequires: php-composer(fig/link-util) < %{fig_link_util_max_ver}
BuildRequires: php-composer(fig/link-util) >= %{fig_link_util_min_ver}
+BuildRequires: php-composer(masterminds/html5) < %{masterminds_max_ver}
+BuildRequires: php-composer(masterminds/html5) >= %{masterminds_min_ver}
+BuildRequires: php-composer(mongodb/mongodb) < %{mongodb_max_ver}
+BuildRequires: php-composer(mongodb/mongodb) >= %{mongodb_min_ver}
BuildRequires: php-composer(monolog/monolog) < %{monolog_max_ver}
BuildRequires: php-composer(monolog/monolog) >= %{monolog_min_ver}
+BuildRequires: php-composer(nyholm/psr7) < %{nyholm_psr7_max_ver}
+BuildRequires: php-composer(nyholm/psr7) >= %{nyholm_psr7_min_ver}
BuildRequires: php-composer(ocramius/proxy-manager) < %{proxy_manager_max_ver}
BuildRequires: php-composer(ocramius/proxy-manager) >= %{proxy_manager_min_ver}
BuildRequires: php-composer(phpdocumentor/reflection-docblock) < %{phpdocumentor_reflection_docblock_max_ver}
BuildRequires: php-composer(phpdocumentor/reflection-docblock) >= %{phpdocumentor_reflection_docblock_min_ver}
-BuildConflicts: php-composer(phpdocumentor/reflection-docblock) = 3.2.0
-BuildRequires: phpunit7
BuildRequires: php-composer(psr/cache) < %{psr_cache_max_ver}
BuildRequires: php-composer(psr/cache) >= %{psr_cache_min_ver}
BuildRequires: php-composer(psr/container) < %{psr_container_max_ver}
BuildRequires: php-composer(psr/container) >= %{psr_container_min_ver}
+BuildRequires: php-composer(psr/http-client) < %{psr_http_client_max_ver}
+BuildRequires: php-composer(psr/http-client) >= %{psr_http_client_min_ver}
BuildRequires: php-composer(psr/link) < %{psr_link_max_ver}
BuildRequires: php-composer(psr/link) >= %{psr_link_min_ver}
BuildRequires: php-composer(psr/log) < %{psr_log_max_ver}
@@ -190,6 +245,8 @@ BuildRequires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts
BuildRequires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
BuildRequires: php-composer(twig/twig) < %{twig_max_ver}
BuildRequires: php-composer(twig/twig) >= %{twig_min_ver}
+%endif
+BuildRequires: phpunit7
# phpcompatinfo for version 4.0.0-beta1
BuildRequires: php-ctype
BuildRequires: php-curl
@@ -253,13 +310,16 @@ Requires: php-composer(%{composer_vendor}/expression-language) = %{version}
Requires: php-composer(%{composer_vendor}/filesystem) = %{version}
Requires: php-composer(%{composer_vendor}/finder) = %{version}
Requires: php-composer(%{composer_vendor}/form) = %{version}
+Requires: php-composer(%{composer_vendor}/http-client) = %{version}
Requires: php-composer(%{composer_vendor}/http-foundation) = %{version}
Requires: php-composer(%{composer_vendor}/http-kernel) = %{version}
Requires: php-composer(%{composer_vendor}/inflector) = %{version}
Requires: php-composer(%{composer_vendor}/intl) = %{version}
Requires: php-composer(%{composer_vendor}/ldap) = %{version}
Requires: php-composer(%{composer_vendor}/lock) = %{version}
+Requires: php-composer(%{composer_vendor}/mailer) = %{version}
Requires: php-composer(%{composer_vendor}/messenger) = %{version}
+Requires: php-composer(%{composer_vendor}/mime) = %{version}
Requires: php-composer(%{composer_vendor}/options-resolver) = %{version}
Requires: php-composer(%{composer_vendor}/process) = %{version}
Requires: php-composer(%{composer_vendor}/property-access) = %{version}
@@ -312,22 +372,24 @@ License: MIT
Requires: %{name}-common = %{version}-%{release}
# composer.json
-Requires: php-composer(doctrine/collections) < %{doctrine_collections_max_ver}
-Requires: php-composer(doctrine/collections) >= %{doctrine_collections_min_ver}
-Requires: php-composer(doctrine/event-manager) < %{doctrine_event_manager_max_ver}
-Requires: php-composer(doctrine/event-manager) >= %{doctrine_event_manager_min_ver}
-Requires: php-composer(doctrine/persistence) < %{doctrine_persistence_max_ver}
-Requires: php-composer(doctrine/persistence) >= %{doctrine_persistence_min_ver}
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(doctrine/event-manager) >= %{doctrine_event_manager_min_ver} with php-composer(doctrine/event-manager) < %{doctrine_event_manager_max_ver})
+Requires:(php-composer(doctrine/persistence) >= %{doctrine_persistence_min_ver} with php-composer(doctrine/persistence) < %{doctrine_persistence_max_ver})
+Requires:(php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/form)
Suggests: php-composer(%{composer_vendor}/property-info)
Suggests: php-composer(%{composer_vendor}/validator)
Suggests: php-composer(doctrine/data-fixtures)
Suggests: php-composer(doctrine/dbal)
Suggests: php-composer(doctrine/orm)
+%else
+Requires: php-composer(doctrine/event-manager) < %{doctrine_event_manager_max_ver}
+Requires: php-composer(doctrine/event-manager) >= %{doctrine_event_manager_min_ver}
+Requires: php-composer(doctrine/persistence) < %{doctrine_persistence_max_ver}
+Requires: php-composer(doctrine/persistence) >= %{doctrine_persistence_min_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-ctype
@@ -360,16 +422,19 @@ License: MIT
Requires: %{name}-common = %{version}-%{release}
# composer.json
-Requires: php-composer(monolog/monolog) >= %{monolog_min_ver}
-Requires: php-composer(monolog/monolog) < %{monolog_max_ver}
Requires: php-composer(%{composer_vendor}/http-kernel) = %{version}
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(monolog/monolog) >= %{monolog_min_ver} with php-composer(monolog/monolog) < %{monolog_max_ver})
+Requires:(php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/console)
-Suggests: php-composer(%{composer_vendor}/event-dispatcher)
+Suggests: php-composer(%{composer_vendor}/security-core)
Suggests: php-composer(%{composer_vendor}/var-dumper)
+%else
+Requires: php-composer(monolog/monolog) >= %{monolog_min_ver}
+Requires: php-composer(monolog/monolog) < %{monolog_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
@@ -427,8 +492,12 @@ License: MIT
# composer.json
Requires: php-composer(%{composer_vendor}/dependency-injection) = %{version}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(ocramius/proxy-manager) >= %{proxy_manager_min_ver} with php-composer(ocramius/proxy-manager) < %{proxy_manager_max_ver})
+%else
Requires: php-composer(ocramius/proxy-manager) >= %{proxy_manager_min_ver}
Requires: php-composer(ocramius/proxy-manager) < %{proxy_manager_max_ver}
+%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-hash
Requires: php-pcre
@@ -454,19 +523,19 @@ License: MIT
Requires: %{name}-common = %{version}-%{release}
# composer.json
-Requires: php-composer(twig/twig) >= %{twig_min_ver}
-Requires: php-composer(twig/twig) < %{twig_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(twig/twig) >= %{twig_min_ver} with php-composer(twig/twig) < %{twig_max_ver})
+Requires:(php-composer(%{composer_vendor}/translation-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/translation-contracts) < %{symfony_contracts_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/asset)
Suggests: php-composer(%{composer_vendor}/expression-language)
Suggests: php-composer(%{composer_vendor}/finder)
Suggests: php-composer(%{composer_vendor}/form)
Suggests: php-composer(%{composer_vendor}/http-kernel)
Suggests: php-composer(%{composer_vendor}/routing)
-Suggests: php-composer(%{composer_vendor}/security)
+Suggests: php-composer(%{composer_vendor}/security-core)
+Suggests: php-composer(%{composer_vendor}/security-crsf)
+Suggests: php-composer(%{composer_vendor}/security-http)
Suggests: php-composer(%{composer_vendor}/stopwatch)
Suggests: php-composer(%{composer_vendor}/templating)
Suggests: php-composer(%{composer_vendor}/translation)
@@ -474,6 +543,11 @@ Suggests: php-composer(%{composer_vendor}/var-dumper)
Suggests: php-composer(%{composer_vendor}/web-link)
Suggests: php-composer(%{composer_vendor}/workflow)
Suggests: php-composer(%{composer_vendor}/yaml)
+%else
+Requires: php-composer(twig/twig) >= %{twig_min_ver}
+Requires: php-composer(twig/twig) < %{twig_max_ver}
+Requires: php-composer(%{composer_vendor}/translation-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/translation-contracts) >= %{symfony_contracts_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-hash
@@ -529,21 +603,18 @@ License: MIT
# composer.json
Requires: php-composer(%{composer_vendor}/cache) = %{version}
Requires: php-composer(%{composer_vendor}/config) = %{version}
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
Requires: php-composer(%{composer_vendor}/debug) = %{version}
Requires: php-composer(%{composer_vendor}/dependency-injection) = %{version}
-Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version}
-Requires: php-composer(%{composer_vendor}/filesystem) = %{version}
-Requires: php-composer(%{composer_vendor}/finder) = %{version}
Requires: php-composer(%{composer_vendor}/http-foundation) = %{version}
Requires: php-composer(%{composer_vendor}/http-kernel) = %{version}
+Requires: php-composer(%{composer_vendor}/filesystem) = %{version}
+Requires: php-composer(%{composer_vendor}/finder) = %{version}
Requires: php-composer(%{composer_vendor}/routing) = %{version}
-Requires: php-composer(doctrine/cache) >= %{doctrine_cache_min_ver}
-Requires: php-composer(doctrine/cache) < %{doctrine_cache_max_ver}
Requires: php-xml
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver})
+Requires:(php-composer(doctrine/cache) >= %{doctrine_cache_min_ver} with php-composer(doctrine/cache) < %{doctrine_cache_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/console)
Suggests: php-composer(%{composer_vendor}/form)
Suggests: php-composer(%{composer_vendor}/property-info)
@@ -551,6 +622,11 @@ Suggests: php-composer(%{composer_vendor}/serializer)
Suggests: php-composer(%{composer_vendor}/validator)
Suggests: php-composer(%{composer_vendor}/web-link)
Suggests: php-composer(%{composer_vendor}/yaml)
+%else
+Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+Requires: php-composer(doctrine/cache) >= %{doctrine_cache_min_ver}
+Requires: php-composer(doctrine/cache) < %{doctrine_cache_max_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-date
@@ -621,8 +697,12 @@ Requires: php-composer(%{composer_vendor}/debug) = %{version}
Requires: php-composer(%{composer_vendor}/http-foundation) = %{version}
Requires: php-composer(%{composer_vendor}/http-kernel) = %{version}
Requires: php-composer(%{composer_vendor}/twig-bridge) = %{version}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(twig/twig) >= %{twig_min_ver} with php-composer(twig/twig) < %{twig_max_ver})
+%else
Requires: php-composer(twig/twig) < %{twig_max_ver}
Requires: php-composer(twig/twig) >= %{twig_min_ver}
+%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-ctype
Requires: php-reflection
@@ -651,8 +731,12 @@ Requires: php-composer(%{composer_vendor}/http-kernel) = %{version}
Requires: php-composer(%{composer_vendor}/routing) = %{version}
Requires: php-composer(%{composer_vendor}/twig-bridge) = %{version}
Requires: php-composer(%{composer_vendor}/var-dumper) = %{version}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(twig/twig) >= %{twig_min_ver} with php-composer(twig/twig) < %{twig_max_ver})
+%else
Requires: php-composer(twig/twig) < %{twig_max_ver}
Requires: php-composer(twig/twig) >= %{twig_min_ver}
+%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-pcre
Requires: php-spl
@@ -766,15 +850,28 @@ URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/cache.html
Requires: %{name}-common = %{version}-%{release}
# composer.json
+Requires: php-composer(%{composer_vendor}/var-exporter) = %{version}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(psr/cache) >= %{psr_cache_min_ver} with php-composer(psr/cache) < %{psr_cache_max_ver})
+Requires:(php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
+Requires:(php-composer(%{composer_vendor}/cache-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/cache-contracts) < %{symfony_contracts_max_ver})
+Requires:(php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver})
+Suggests: php-pecl(apcu)
+Suggests: php-pecl(memcached)
+Suggests: php-pecl(opcache)
+Suggests: php-pecl(redis)
+%else
Requires: php-composer(psr/cache) < %{psr_cache_max_ver}
Requires: php-composer(psr/cache) >= %{psr_cache_min_ver}
Requires: php-composer(psr/log) < %{psr_log_max_ver}
Requires: php-composer(psr/log) >= %{psr_log_min_ver}
Requires: php-composer(psr/simple-cache) < %{psr_simple_cache_max_ver}
Requires: php-composer(psr/simple-cache) >= %{psr_simple_cache_min_ver}
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
-Requires: php-composer(%{composer_vendor}/var-exporter) = %{version}
+Requires: php-composer(%{composer_vendor}/cache-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/cache-contracts) >= %{symfony_contracts_min_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver}
+%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-date
Requires: php-hash
@@ -782,12 +879,6 @@ Requires: php-pcre
Requires: php-pdo
Requires: php-reflection
Requires: php-spl
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
-Suggests: php-pecl(apcu)
-Suggests: php-pecl(memcached)
-Suggests: php-pecl(opcache)
-Suggests: php-pecl(redis)
-%endif
# Composer
Provides: php-composer(%{composer_vendor}/cache) = %{version}
@@ -847,15 +938,20 @@ License: MIT
URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/console.html
# composer.json
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
Requires: php-composer(%{composer_vendor}/debug) = %{version}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver})
+Requires:(php-composer(%{composer_vendor}/polyfill-php73) >= %{symfony_polyfill_min_ver} with php-composer(%{composer_vendor}/polyfill-php73) < %{symfony_polyfill_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/event-dispatcher)
Suggests: php-composer(%{composer_vendor}/lock)
Suggests: php-composer(%{composer_vendor}/process)
Suggests: php-composer(psr/log)
+%else
+Requires: php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver}
+Requires: php-composer(%{composer_vendor}/polyfill-php73) < %{symfony_polyfill_max_ver}
+Requires: php-composer(%{composer_vendor}/polyfill-php73) >= %{symfony_polyfill_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-date
@@ -911,16 +1007,18 @@ URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/debug.html
Requires: %{name}-common = %{version}-%{release}
# composer.json
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
+Suggests: php-pecl(Xdebug)
+%else
Requires: php-composer(psr/log) >= %{psr_log_min_ver}
Requires: php-composer(psr/log) < %{psr_log_max_ver}
+%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-json
Requires: php-pcre
Requires: php-reflection
Requires: php-spl
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
-Suggests: php-pecl(Xdebug)
-%endif
# Composer
Provides: php-composer(%{composer_vendor}/debug) = %{version}
@@ -940,17 +1038,20 @@ URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/dependency_injec
Requires: %{name}-common = %{version}-%{release}
# composer.json
-Requires: php-composer(psr/container) >= %{psr_container_min_ver}
-Requires: php-composer(psr/container) < %{psr_container_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(psr/container) >= %{psr_container_min_ver} with php-composer(psr/container) < %{psr_container_max_ver})
+Requires:(php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/config)
Suggests: php-composer(%{composer_vendor}/expression-language)
Suggests: php-composer(%{composer_vendor}/finder)
Suggests: php-composer(%{composer_vendor}/proxy-manager-bridge)
Suggests: php-composer(%{composer_vendor}/yaml)
+%else
+Requires: php-composer(psr/container) >= %{psr_container_min_ver}
+Requires: php-composer(psr/container) < %{psr_container_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-dom
@@ -1034,12 +1135,14 @@ URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/event_dispatcher
Requires: %{name}-common = %{version}-%{release}
# composer.json:
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(%{composer_vendor}/event-dispatcher-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/event-dispatcher-contracts) < %{symfony_contracts_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/dependency-injection)
Suggests: php-composer(%{composer_vendor}/http-kernel)
+%else
+Requires: php-composer(%{composer_vendor}/event-dispatcher-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/event-dispatcher-contracts) >= %{symfony_contracts_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-pcre
@@ -1067,8 +1170,12 @@ URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/expression_langu
# composer.json:
Requires: php-composer(%{composer_vendor}/cache) = %{version}
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver})
+%else
+Requires: php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver}
+%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-ctype
Requires: php-pcre
@@ -1141,12 +1248,15 @@ Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version}
Requires: php-composer(%{composer_vendor}/intl) = %{version}
Requires: php-composer(%{composer_vendor}/options-resolver) = %{version}
Requires: php-composer(%{composer_vendor}/property-access) = %{version}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
-Suggests: php-composer(%{composer_vendor}/framework-bundle)
Suggests: php-composer(%{composer_vendor}/security-csrf)
Suggests: php-composer(%{composer_vendor}/twig-bridge)
Suggests: php-composer(%{composer_vendor}/validator)
+%else
+Requires: php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-reflection
@@ -1171,6 +1281,49 @@ Autoloader: %{symfony4_dir}/Component/Form/autoload.php
# ------------------------------------------------------------------------------
+%package http-client
+
+Summary: Symfony HttpClient Component (version 4)
+License: MIT
+URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/client.html
+
+Requires: %{name}-common = %{version}-%{release}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
+Requires:(php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver})
+Requires:(php-composer(%{composer_vendor}/polyfill-php73) >= %{symfony_polyfill_min_ver} with php-composer(%{composer_vendor}/polyfill-php73) < %{symfony_polyfill_max_ver})
+%else
+Requires: php-composer(psr/log) < %{psr_log_max_ver}
+Requires: php-composer(psr/log) >= %{psr_log_min_ver}
+Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+Requires: php-composer(%{composer_vendor}/polyfill-php73) < %{symfony_polyfill_max_ver}
+Requires: php-composer(%{composer_vendor}/polyfill-php73) >= %{symfony_polyfill_min_ver}
+%endif
+
+# phpcompatinfo for version 4.3.6
+Requires: php-reflection
+Requires: php-curl
+Requires: php-hash
+Requires: php-intl
+Requires: php-json
+Requires: php-pcre
+Requires: php-spl
+Requires: php-zlib
+
+# Composer
+Provides: php-composer(%{composer_vendor}/http-client) = %{version}
+
+%description http-client
+The HttpClient component is a low-level HTTP client with support for both PHP
+stream wrappers and cURL. It provides utilities to consume APIs and supports
+synchronous and asynchronous operations.
+
+
+Autoloader: %{symfony4_dir}/Component/HttpClient/autoload.php
+
+# ------------------------------------------------------------------------------
+
%package http-foundation
Summary: Symfony HttpFoundation Component (version 4)
@@ -1178,6 +1331,7 @@ License: MIT
URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/http_foundation.html
Requires: %{name}-common = %{version}-%{release}
+Requires: %{name}-mime = %{version}-%{release}
# phpcompatinfo for version 4.0.0-beta1
Requires: php-date
Requires: php-fileinfo
@@ -1216,20 +1370,23 @@ License: MIT
URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/http_kernel.html
# composer.json
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
Requires: php-composer(%{composer_vendor}/debug) = %{version}
Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version}
Requires: php-composer(%{composer_vendor}/http-foundation) = %{version}
-Requires: php-composer(psr/log) >= %{psr_log_min_ver}
-Requires: php-composer(psr/log) < %{psr_log_max_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
+Requires:(php-composer(%{composer_vendor}/polyfill-php73) >= %{symfony_polyfill_min_ver} with php-composer(%{composer_vendor}/polyfill-php73) < %{symfony_polyfill_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/browser-kit)
Suggests: php-composer(%{composer_vendor}/config)
Suggests: php-composer(%{composer_vendor}/console)
Suggests: php-composer(%{composer_vendor}/dependency-injection)
Suggests: php-composer(%{composer_vendor}/var-dumper)
+%else
+Requires: php-composer(psr/log) >= %{psr_log_min_ver}
+Requires: php-composer(psr/log) < %{psr_log_max_ver}
+Requires: php-composer(%{composer_vendor}/polyfill-php73) < %{symfony_polyfill_max_ver}
+Requires: php-composer(%{composer_vendor}/polyfill-php73) >= %{symfony_polyfill_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-ctype
@@ -1344,8 +1501,12 @@ License: MIT
Requires: %{name}-common = %{version}-%{release}
# composer.json
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
+%else
Requires: php-composer(psr/log) < %{psr_log_max_ver}
Requires: php-composer(psr/log) >= %{psr_log_min_ver}
+%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-hash
Requires: php-pcre
@@ -1365,9 +1526,48 @@ Autoloader: %{symfony4_dir}/Component/Lock/autoload.php
# ------------------------------------------------------------------------------
+%package mailer
+
+Summary: Symfony Mailer Component (version 4)
+URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/mailer.html
+License: MIT
+
+Requires: %{name}-common = %{version}-%{release}
+# composer.json
+Requires: %{name}-event-dispatcher = %{version}-%{release}
+Requires: %{name}-mime = %{version}-%{release}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(egulias/email-validator) >= %{email_validator_min_ver} with php-composer(egulias/email-validator) < %{email_validator_max_ver})
+Requires:(php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
+%else
+Requires: php-composer(egulias/email-validator) < %{email_validator_max_ver}
+Requires: php-composer(egulias/email-validator) >= %{email_validator_min_ver}
+Requires: php-composer(psr/log) < %{psr_log_max_ver}
+Requires: php-composer(psr/log) >= %{psr_log_min_ver}
+%endif
+# phpcompatinfo for version 4.3.6
+Requires: php-reflection
+Requires: php-simplexml
+Requires: php-date
+Requires: php-filter
+Requires: php-hash
+Requires: php-pcre
+Requires: php-spl
+
+# Composer
+Provides: php-composer(%{composer_vendor}/mailer) = %{version}
+
+%description mailer
+The Mailer component helps sending emails.
+
+Autoloader: %{symfony4_dir}/Component/Mailer/autoload.php
+
+# ------------------------------------------------------------------------------
+
%package messenger
Summary: Symfony Messenger Component (version 4)
+URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/mailer.html
License: MIT
Requires: %{name}-common = %{version}-%{release}
@@ -1376,8 +1576,12 @@ Requires: php-date
Requires: php-json
Requires: php-pcntl
Requires: php-spl
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
Suggests: php-pecl(amqp)
+%else
+Requires: php-composer(psr/log) < %{psr_log_max_ver}
+Requires: php-composer(psr/log) >= %{psr_log_min_ver}
%endif
# Composer
@@ -1390,6 +1594,41 @@ Autoloader: %{symfony4_dir}/Component/Messenger/autoload.php
# ------------------------------------------------------------------------------
+%package mime
+
+Summary: Symfony Mime Component (version 4)
+URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/mime.html
+License: MIT
+
+Requires: %{name}-common = %{version}-%{release}
+# composer.json
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(%{composer_vendor}/polyfill-mbstring) >= %{symfony_polyfill_min_ver} with php-composer(%{composer_vendor}/polyfill-mbstring) < %{symfony_polyfill_max_ver})
+%else
+Requires: php-composer(%{composer_vendor}/polyfill-mbstring) < %{symfony_polyfill_max_ver}
+Requires: php-composer(%{composer_vendor}/polyfill-mbstring) >= %{symfony_polyfill_min_ver}
+%endif
+# phpcompatinfo for version 4.3.6
+Requires: php-reflection
+Requires: php-simplexml
+Requires: php-date
+Requires: php-fileinfo
+Requires: php-intl
+Requires: php-mbstring
+Requires: php-pcre
+Requires: php-spl
+
+# Composer
+Provides: php-composer(%{composer_vendor}/mime) = %{version}
+
+%description mime
+The Mime component allows manipulating the MIME messages used to
+send emails and provides utilities related to MIME types.
+
+Autoloader: %{symfony4_dir}/Component/Mime/autoload.php
+
+# ------------------------------------------------------------------------------
+
%package options-resolver
Summary: Symfony OptionsResolver Component (version 4)
@@ -1531,20 +1770,25 @@ License: MIT
URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/security.html
# composer.json
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version}
Requires: php-composer(%{composer_vendor}/http-foundation) = %{version}
Requires: php-composer(%{composer_vendor}/http-kernel) = %{version}
Requires: php-composer(%{composer_vendor}/property-access) = %{version}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(%{composer_vendor}/event-dispatcher-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/event-dispatcher-contracts) < %{symfony_contracts_max_ver})
+Requires:(php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/expression-language)
Suggests: php-composer(%{composer_vendor}/form)
Suggests: php-composer(%{composer_vendor}/ldap)
Suggests: php-composer(%{composer_vendor}/routing)
Suggests: php-composer(%{composer_vendor}/validator)
Suggests: php-composer(psr/container)
+%else
+Requires: php-composer(%{composer_vendor}/event-dispatcher-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/event-dispatcher-contracts) >= %{symfony_contracts_min_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-ctype
@@ -1629,8 +1873,12 @@ URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/stopwatch.html
Requires: %{name}-common = %{version}-%{release}
# composer.json
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver})
+%else
+Requires: php-composer(%{composer_vendor}/service-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/service-contracts) >= %{symfony_contracts_min_ver}
+%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-spl
@@ -1684,14 +1932,16 @@ License: MIT
URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/translation.html
Requires: %{name}-common = %{version}-%{release}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
# composer.json
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+Requires:(php-composer(%{composer_vendor}/translation-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/translation-contracts) < %{symfony_contracts_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/config)
Suggests: php-composer(%{composer_vendor}/yaml)
Suggests: php-composer(psr/log)
+%else
+Requires: php-composer(%{composer_vendor}/translation-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/translation-contracts) >= %{symfony_contracts_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-dom
@@ -1724,21 +1974,24 @@ License: MIT
URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/validator.html
Requires: php-composer(%{composer_vendor}/translation) = %{version}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
# composer.json
-Requires: php-composer(%{composer_vendor}/contracts) < %{symfony_contracts_max_ver}
-Requires: php-composer(%{composer_vendor}/contracts) >= %{symfony_contracts_min_ver}
+Requires:(php-composer(%{composer_vendor}/translation-contracts) >= %{symfony_contracts_min_ver} with php-composer(%{composer_vendor}/translation-contracts) < %{symfony_contracts_max_ver})
# composer.json: optional
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Suggests: php-composer(%{composer_vendor}/config)
Suggests: php-composer(%{composer_vendor}/expression-language)
Suggests: php-composer(%{composer_vendor}/http-foundation)
Suggests: php-composer(%{composer_vendor}/intl)
Suggests: php-composer(%{composer_vendor}/property-access)
+Suggests: php-composer(%{composer_vendor}/property-info)
Suggests: php-composer(%{composer_vendor}/yaml)
Suggests: php-composer(doctrine/annotations)
Suggests: php-composer(doctrine/cache)
Suggests: php-composer(egulias/email-validator)
Suggests: php-composer(psr/cache-implementation)
+%else
+Requires: php-composer(%{composer_vendor}/translation-contracts) < %{symfony_contracts_max_ver}
+Requires: php-composer(%{composer_vendor}/translation-contracts) >= %{symfony_contracts_min_ver}
%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-ctype
@@ -1773,10 +2026,19 @@ URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/var_dumper.html
Requires: %{name}-common = %{version}-%{release}
# composer.json
-Requires: php-composer(%{composer_vendor}/polyfill-php72) < %{symfony_polyfill_max_ver}
-Requires: php-composer(%{composer_vendor}/polyfill-php72) >= %{symfony_polyfill_min_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+# composer.json
+Requires:(php-composer(%{composer_vendor}/polyfill-php72) >= %{symfony_polyfill_min_ver} with php-composer(%{composer_vendor}/polyfill-php72) < %{symfony_polyfill_max_ver})
# composer.json: optional
## ext-symfony_debug
+Recommends: php-composer(%{composer_vendor}/console)
+Suggests: php-mysql
+Suggests: php-pecl(amqp)
+Suggests: php-pgsql
+%else
+Requires: php-composer(%{composer_vendor}/polyfill-php72) < %{symfony_polyfill_max_ver}
+Requires: php-composer(%{composer_vendor}/polyfill-php72) >= %{symfony_polyfill_min_ver}
+%endif
# phpcompatinfo for version 4.0.0-beta1
Requires: php-curl
Requires: php-date
@@ -1790,12 +2052,6 @@ Requires: php-posix
Requires: php-reflection
Requires: php-spl
Requires: php-xml
-%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
-Recommends: php-composer(%{composer_vendor}/console)
-Suggests: php-mysql
-Suggests: php-pecl(amqp)
-Suggests: php-pgsql
-%endif
# Composer
Provides: php-composer(%{composer_vendor}/var-dumper) = %{version}
@@ -1851,13 +2107,16 @@ License: MIT
Requires: %{name}-common = %{version}-%{release}
# composer.json
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires:(php-composer(fig/link-util) >= %{fig_link_util_min_ver} with php-composer(fig/link-util) < %{fig_link_util_max_ver})
+Requires:(php-composer(psr/link) >= %{psr_link_min_ver} with php-composer(psr/link) < %{psr_link_max_ver})
+# composer.json: optional
+Suggests: php-composer(%{composer_vendor}/http-kernel)
+%else
Requires: php-composer(fig/link-util) < %{fig_link_util_max_ver}
Requires: php-composer(fig/link-util) >= %{fig_link_util_min_ver}
Requires: php-composer(psr/link) < %{psr_link_max_ver}
Requires: php-composer(psr/link) >= %{psr_link_min_ver}
-# composer.json: optional
-%if 0%{?fedora}
-Suggests: php-composer(%{composer_vendor}/http-kernel)
%endif
# phpcompatinfo for version 4.0.0-beta1
# <none>
@@ -1960,7 +2219,9 @@ if (!defined('FEDORA_SYMFONY4_DIR')) {
AUTOLOAD
: Create individual sub-package autoloaders
-for AUTOLOADER in $(./%{name}-generate-autoloaders.php)
+./%{name}-generate-autoloaders.php | tee /tmp/autoloader.lst
+
+for AUTOLOADER in $(cat /tmp/autoloader.lst)
do
echo ">>>>>>>>>>>>>>>>>>>> Autoloader: $AUTOLOADER"
sed \
@@ -2538,6 +2799,22 @@ exit $RET
# ------------------------------------------------------------------------------
+%files http-client
+
+%license src/Symfony/Component/HttpClient/LICENSE
+%doc src/Symfony/Component/HttpClient/*.md
+%doc src/Symfony/Component/HttpClient/composer.json
+
+%{symfony4_dir}/Component/HttpClient
+%exclude %{symfony4_dir}/Component/HttpClient/LICENSE
+%exclude %{symfony4_dir}/Component/HttpClient/*.md
+%exclude %{symfony4_dir}/Component/HttpClient/autoload-dev.php
+%exclude %{symfony4_dir}/Component/HttpClient/composer.json
+%exclude %{symfony4_dir}/Component/HttpClient/phpunit.*
+%exclude %{symfony4_dir}/Component/HttpClient/Tests
+
+# ------------------------------------------------------------------------------
+
%files http-foundation
%license src/Symfony/Component/HttpFoundation/LICENSE
@@ -2634,15 +2911,30 @@ exit $RET
# ------------------------------------------------------------------------------
+%files mailer
+
+%license src/Symfony/Component/Mailer/LICENSE
+%doc src/Symfony/Component/Mailer/*.md
+%doc src/Symfony/Component/Mailer/composer.json
+
+%{symfony4_dir}/Component/Mailer
+%exclude %{symfony4_dir}/Component/Mailer/LICENSE
+%exclude %{symfony4_dir}/Component/Mailer/*.md
+%exclude %{symfony4_dir}/Component/Mailer/autoload-dev.php
+%exclude %{symfony4_dir}/Component/Mailer/composer.json
+%exclude %{symfony4_dir}/Component/Mailer/phpunit.*
+%exclude %{symfony4_dir}/Component/Mailer/Tests
+
+# ------------------------------------------------------------------------------
+
%files messenger
-# https://github.com/symfony/symfony/issues/28353
-#%%license src/Symfony/Component/Messenger/LICENSE
+%license src/Symfony/Component/Messenger/LICENSE
%doc src/Symfony/Component/Messenger/*.md
%doc src/Symfony/Component/Messenger/composer.json
%{symfony4_dir}/Component/Messenger
-#%%exclude %%{symfony4_dir}/Component/Messenger/LICENSE
+%exclude %{symfony4_dir}/Component/Messenger/LICENSE
%exclude %{symfony4_dir}/Component/Messenger/*.md
%exclude %{symfony4_dir}/Component/Messenger/autoload-dev.php
%exclude %{symfony4_dir}/Component/Messenger/composer.json
@@ -2651,6 +2943,22 @@ exit $RET
# ------------------------------------------------------------------------------
+%files mime
+
+%license src/Symfony/Component/Mime/LICENSE
+%doc src/Symfony/Component/Mime/*.md
+%doc src/Symfony/Component/Mime/composer.json
+
+%{symfony4_dir}/Component/Mime
+%exclude %{symfony4_dir}/Component/Mime/LICENSE
+%exclude %{symfony4_dir}/Component/Mime/*.md
+%exclude %{symfony4_dir}/Component/Mime/autoload-dev.php
+%exclude %{symfony4_dir}/Component/Mime/composer.json
+%exclude %{symfony4_dir}/Component/Mime/phpunit.*
+%exclude %{symfony4_dir}/Component/Mime/Tests
+
+# ------------------------------------------------------------------------------
+
%files options-resolver
%license src/Symfony/Component/OptionsResolver/LICENSE
@@ -2914,6 +3222,19 @@ exit $RET
# ##############################################################################
%changelog
+* Tue Nov 5 2019 Remi Collet <remi@remirepo.net> - 4.3.6-1
+- update to 4.3.6
+- add HttpClient, Mailer and Mime components
+- use range dependencies
+- raise dependency on symfony/contracts 1.1.3
+- raise dependency on symfony/polyfill 1.11
+- raise dependency on doctrine/annotations 1.7
+- raise dependency on egulias/email-validator 2.1.10
+- add dependency on masterminds/html5
+- add dependency on mongodb/mongodb
+- add dependency on nyholm/psr7
+- add dependency on psr/http-client
+
* Tue Nov 5 2019 Remi Collet <remi@remirepo.net> - 4.2.11-3
- switch to phpunit7