From b560543f13089088d7417b751e4b36459e530055 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 9 Jul 2021 09:43:38 +0200 Subject: add weak dependencies on commonly used SAPI and extensions: fpm, mbstring, opcache, pdo, sodium and xml --- php81.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'php81.spec') diff --git a/php81.spec b/php81.spec index ed2821a..aadf4b6 100644 --- a/php81.spec +++ b/php81.spec @@ -26,7 +26,7 @@ Summary: Package that installs PHP 8.1 Name: %scl_name Version: 8.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Source0: macros-build @@ -42,6 +42,15 @@ BuildRequires: environment-modules Requires: %{?scl_prefix}php-common%{?_isa} Requires: %{?scl_prefix}php-cli%{?_isa} Requires: %{?scl_name}-runtime%{?_isa} = %{version}-%{release} +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +# this a meta-package, so commonly used SAPI / extensions: +Recommends: %{?scl_prefix}php-fpm%{?_isa} +Recommends: %{?scl_prefix}php-mbstring%{?_isa} +Recommends: %{?scl_prefix}php-opcache%{?_isa} +Recommends: %{?scl_prefix}php-pdo%{?_isa} +Recommends: %{?scl_prefix}php-sodium%{?_isa} +Recommends: %{?scl_prefix}php-xml%{?_isa} +%endif %description This is the main package for %scl Software Collection, @@ -249,6 +258,10 @@ restorecon -R %{_localstatedir} &>/dev/null || : %changelog +* Fri Jul 9 2021 Remi Collet 8.1-2 +- add weak dependencies on commonly used SAPI and extensions: + fpm, mbstring, opcache, pdo, sodium and xml + * Fri Jun 4 2021 Remi Collet 8.1-1 - initial package for 8.1 -- cgit