summaryrefslogtreecommitdiffstats
path: root/php81.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php81.spec')
-rw-r--r--php81.spec15
1 files changed, 14 insertions, 1 deletions
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 <remi@remirepo.net> 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 <remi@remirepo.net> 8.1-1
- initial package for 8.1