summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json6
-rw-r--r--php-symfony-polyfill.spec15
2 files changed, 15 insertions, 6 deletions
diff --git a/composer.json b/composer.json
index a4a3eda..0450044 100644
--- a/composer.json
+++ b/composer.json
@@ -19,7 +19,7 @@
"php": ">=5.3.3",
"ircmaxell/password-compat": "~1.0",
"paragonie/random_compat": "~1.0|~2.0|~9.99",
- "symfony/intl": "~2.3|~3.0|~4.0"
+ "symfony/intl": "~2.3|~3.0|~4.0|~5.0"
},
"require-dev": {
"symfony/phpunit-bridge": "~3.2"
@@ -34,6 +34,7 @@
"symfony/polyfill-php71": "self.version",
"symfony/polyfill-php72": "self.version",
"symfony/polyfill-php73": "self.version",
+ "symfony/polyfill-php74": "self.version",
"symfony/polyfill-iconv": "self.version",
"symfony/polyfill-intl-grapheme": "self.version",
"symfony/polyfill-intl-icu": "self.version",
@@ -56,6 +57,7 @@
"src/Php71/bootstrap.php",
"src/Php72/bootstrap.php",
"src/Php73/bootstrap.php",
+ "src/Php74/bootstrap.php",
"src/Iconv/bootstrap.php",
"src/Intl/Grapheme/bootstrap.php",
"src/Intl/Idn/bootstrap.php",
@@ -75,7 +77,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.11-dev"
+ "dev-master": "1.12-dev"
}
}
}
diff --git a/php-symfony-polyfill.spec b/php-symfony-polyfill.spec
index d9d0f93..b5b3bbc 100644
--- a/php-symfony-polyfill.spec
+++ b/php-symfony-polyfill.spec
@@ -12,8 +12,8 @@
%global github_owner symfony
%global github_name polyfill
-%global github_version 1.11.0
-%global github_commit 0d4b1ade474991fb1d629e45f94b4c49cd58c4d7
+%global github_version 1.12.0
+%global github_commit e110fdfc055b47447c4f46e76d6eca83055e9a7a
%global composer_vendor symfony
%global composer_project polyfill
@@ -101,6 +101,7 @@ Provides: php-composer(%{composer_vendor}/%{composer_project}-php70) = %{ve
Provides: php-composer(%{composer_vendor}/%{composer_project}-php71) = %{version}
Provides: php-composer(%{composer_vendor}/%{composer_project}-php72) = %{version}
Provides: php-composer(%{composer_vendor}/%{composer_project}-php73) = %{version}
+Provides: php-composer(%{composer_vendor}/%{composer_project}-php74) = %{version}
%description
%{summary}.
@@ -112,7 +113,7 @@ Autoloader: %{phpdir}/Symfony/Polyfill/autoload.php
%setup -qn %{github_name}-%{github_commit}
: Docs
-mkdir -p docs/{Mbstring,Php54,Php55,Php56,Php70,Php71,Php72,Php73,Util}
+mkdir -p docs/{Mbstring,Php54,Php55,Php56,Php70,Php71,Php72,Php73,Php74,Util}
mv *.md composer.json docs/
mv src/Mbstring/{*.md,composer.json} docs/Mbstring/
mv src/Php54/{*.md,composer.json} docs/Php54/
@@ -122,6 +123,7 @@ mv src/Php70/{*.md,composer.json} docs/Php70/
mv src/Php71/{*.md,composer.json} docs/Php71/
mv src/Php72/{*.md,composer.json} docs/Php72/
mv src/Php73/{*.md,composer.json} docs/Php73/
+mv src/Php74/{*.md,composer.json} docs/Php74/
mv src/Util/{*.md,composer.json} docs/Util/
: Remove unneeded polyfills
@@ -145,6 +147,7 @@ cat <<'AUTOLOAD' | tee -a src/autoload.php
__DIR__ . '/Php71/bootstrap.php',
__DIR__ . '/Php72/bootstrap.php',
__DIR__ . '/Php73/bootstrap.php',
+ __DIR__ . '/Php74/bootstrap.php',
));
\Fedora\Autoloader\Dependencies::optional(array(
'%{phpdir}/password_compat/password.php',
@@ -165,7 +168,7 @@ cp -rp src/* %{buildroot}%{phpdir}/Symfony/Polyfill/
: Upstream tests
RETURN_CODE=0
PHPUNIT=$(which phpunit)
-for PHP_EXEC in "" %{?rhel:php54 php55 php56 php70} php71 php72 php73; do
+for PHP_EXEC in "" %{?rhel:php54 php55 php56 php70} php71 php72 php73 php74; do
if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then
$PHP_EXEC $PHPUNIT --verbose \
--bootstrap %{buildroot}%{phpdir}/Symfony/Polyfill/autoload.php \
@@ -188,6 +191,10 @@ exit $RETURN_CODE
%changelog
+* Tue Aug 20 2019 Remi Collet <remi@remirepo.net> - 1.12.0-1
+- update to 1.12.0
+- add symfony/polyfill-php74
+
* Tue Mar 26 2019 Remi Collet <remi@remirepo.net> - 1.11.0-1
- update to 1.11.0