summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-01-31 07:31:06 +0100
committerRemi Collet <remi@php.net>2022-01-31 07:31:06 +0100
commita9508a35fd7501e2576244b642bf77bcef379242 (patch)
tree20fb734f2c21b6d3158ce290919cc2ce1d1950ea
parent2a782c8a5071397b08ecb61aca526c8d282f23f9 (diff)
lower minimal php version back to 7.1.3
-rwxr-xr-xphp-symfony4-generate-autoloaders.php18
-rw-r--r--php-symfony4.spec8
2 files changed, 20 insertions, 6 deletions
diff --git a/php-symfony4-generate-autoloaders.php b/php-symfony4-generate-autoloaders.php
index be8a720..851722e 100755
--- a/php-symfony4-generate-autoloaders.php
+++ b/php-symfony4-generate-autoloaders.php
@@ -325,9 +325,21 @@ final class AutoloadGenerator {
'symfony/polyfill-intl-icu' => false,
'symfony/polyfill-intl-idn' => false,
'symfony/polyfill-mbstring' => false,
- 'symfony/polyfill-php72' => false,
- 'symfony/polyfill-php73' => false,
- 'symfony/polyfill-php74' => false,
+ 'symfony/polyfill-php72' =>
+ [
+ 'prefix' => 'FEDORA_SYMFONY4_PHP_DIR', // external
+ 'path' => 'Symfony/Polyfill/autoload.php',
+ ],
+ 'symfony/polyfill-php73' =>
+ [
+ 'prefix' => 'FEDORA_SYMFONY4_PHP_DIR', // external
+ 'path' => 'Symfony/Polyfill/autoload.php',
+ ],
+ 'symfony/polyfill-php74' =>
+ [
+ 'prefix' => 'FEDORA_SYMFONY4_PHP_DIR', // external
+ 'path' => 'Symfony/Polyfill/autoload.php',
+ ],
'symfony/polyfill-php80' =>
[
'prefix' => 'FEDORA_SYMFONY4_PHP_DIR', // external
diff --git a/php-symfony4.spec b/php-symfony4.spec
index 394bf0e..a6d0ba8 100644
--- a/php-symfony4.spec
+++ b/php-symfony4.spec
@@ -21,8 +21,7 @@
%global composer_project symfony
# "php": ">=7.1.3"
-# use 7.4 as older polyfills are disabled
-%global php_min_ver 7.4
+%global php_min_ver 7.1.3
# "cache/integration-tests": "dev-master"
# NOTE: Min and max versions added to restrict to single major version
%global cache_integration_tests_min_ver 0
@@ -145,7 +144,7 @@
Name: php-%{composer_project}4
Version: %{github_version}
-Release: 1%{?github_prerelease:.%{github_prerelease}}%{?dist}
+Release: 2%{?github_prerelease:.%{github_prerelease}}%{?dist}
Summary: Symfony PHP framework (version 4)
# MIT and CC-BY-SA:
@@ -3316,6 +3315,9 @@ exit $RET
# ##############################################################################
%changelog
+* Mon Jan 31 2022 Remi Collet <remi@remirepo.net> - 4.4.37-2
+- lower minimal php version back to 7.1.3
+
* Fri Jan 28 2022 Remi Collet <remi@remirepo.net> - 4.4.37-1
- update to 4.4.37