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