From 2a782c8a5071397b08ecb61aca526c8d282f23f9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 31 Jan 2022 07:26:48 +0100 Subject: Revert "cleanup more unneeded polyfills" This reverts commit 1c176080c91d33e10f39ab07a1f6812a77fe3214. --- php-symfony4.spec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'php-symfony4.spec') diff --git a/php-symfony4.spec b/php-symfony4.spec index 635def3..394bf0e 100644 --- a/php-symfony4.spec +++ b/php-symfony4.spec @@ -968,6 +968,7 @@ URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/console.html Requires: php-composer(%{composer_vendor}/debug) = %{version} %if %{with_range_dependencies} 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 Suggests: php-composer(%{composer_vendor}/event-dispatcher) Suggests: php-composer(%{composer_vendor}/lock) @@ -976,6 +977,8 @@ 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 @@ -1352,6 +1355,7 @@ Requires: %{name}-common = %{version}-%{release} Requires:(php-composer(guzzlehttp/promises) >= %{guzzlehttp_promises_min_ver} with php-composer(guzzlehttp/promises) < %{guzzlehttp_promises_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}/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(guzzlehttp/promises) < %{guzzlehttp_promises_max_ver} Requires: php-composer(guzzlehttp/promises) >= %{guzzlehttp_promises_min_ver} @@ -1359,6 +1363,8 @@ 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 @@ -1436,6 +1442,7 @@ Requires: php-composer(%{composer_vendor}/http-foundation) = %{version} %if %{with_range_dependencies} 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}) # composer.json: optional Suggests: php-composer(%{composer_vendor}/browser-kit) Suggests: php-composer(%{composer_vendor}/config) @@ -1446,6 +1453,8 @@ Requires: php-composer(psr/log) >= %{psr_log_min_ver} Requires: php-composer(psr/log) < %{psr_log_max_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.0.0-beta1 Requires: php-ctype @@ -2093,12 +2102,17 @@ URL: http://symfony.com/doc/%{symfony4_doc_ver}/components/var_dumper.html Requires: %{name}-common = %{version}-%{release} # composer.json %if %{with_range_dependencies} +# 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 @@ -2170,11 +2184,14 @@ Requires: %{name}-common = %{version}-%{release} # composer.json %if %{with_range_dependencies} Requires:(php-composer(psr/link) >= %{psr_link_min_ver} with php-composer(psr/link) < %{psr_link_max_ver}) +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 Suggests: php-composer(%{composer_vendor}/http-kernel) %else Requires: php-composer(psr/link) < %{psr_link_max_ver} Requires: php-composer(psr/link) >= %{psr_link_min_ver} +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 # -- cgit