summaryrefslogtreecommitdiffstats
path: root/php-symfony4.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-symfony4.spec')
-rw-r--r--php-symfony4.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-symfony4.spec b/php-symfony4.spec
index d83f6f4..7e132a9 100644
--- a/php-symfony4.spec
+++ b/php-symfony4.spec
@@ -107,7 +107,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:
@@ -121,6 +121,8 @@ Source1: %{name}-generate-autoloaders.php
# Use our autoloader
Patch0: %{name}-autoload.patch
+# Backports for PHP 8
+Patch1: %{name}-php8.patch
BuildArch: noarch
# Tests
@@ -1836,6 +1838,8 @@ Autoloader: %{symfony4_dir}/Component/Yaml/autoload.php
%prep
%setup -qn %{github_name}-%{github_commit}
%patch0 -p1
+%patch1 -p1
+
cp %{SOURCE1} .
sed 's#__PHPDIR__#%{phpdir}#' -i $(basename %{SOURCE1})
@@ -2810,6 +2814,9 @@ exit $RET
# ##############################################################################
%changelog
+* Wed Dec 16 2020 Remi Collet <remi@remirepo.net> - 4.1.13-2
+- backport 1 fix for PHP 8
+
* Thu May 2 2019 Remi Collet <remi@remirepo.net> - 4.1.13-1
- update to 4.1.13