From cbd1971db2408990b146ec333be56504c891a324d8021f32bf0dba93414bb46d Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Wed, 30 Nov 2022 12:10:30 +0000 Subject: [PATCH] Accepting request 1039093 from home:pgajdos:php8 - a2enmod php8 in TW and 15.4 onwards OBS-URL: https://build.opensuse.org/request/show/1039093 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/nextcloud?expand=0&rev=186 --- nextcloud.changes | 5 +++++ nextcloud.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/nextcloud.changes b/nextcloud.changes index 0bab6ee..369d57a 100644 --- a/nextcloud.changes +++ b/nextcloud.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 30 10:35:27 UTC 2022 - pgajdos@suse.com + +- a2enmod php8 in TW and 15.4 onwards + ------------------------------------------------------------------- Thu Nov 3 15:25:48 UTC 2022 - ecsos diff --git a/nextcloud.spec b/nextcloud.spec index 5700efa..b2c4746 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -249,10 +249,10 @@ fi if [ $1 -eq 1 ]; then %if 0%{?suse_version} -%if 0%{?suse_version} >= 1500 -a2enmod php7 +%if 0%{?sle_version} >= 150400 || 0%{?suse_version} > 1500 +a2enmod php8 %else -a2enmod php5 +a2enmod php7 %endif %endif fi