summaryrefslogtreecommitdiffstats
path: root/php-symfony-polyfill.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-symfony-polyfill.spec')
-rw-r--r--php-symfony-polyfill.spec15
1 files changed, 11 insertions, 4 deletions
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