diff --git a/nextcloud.spec b/nextcloud.spec index 781951e..da30590 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -46,6 +46,10 @@ Patch1: 0001-mangle-shebang.patch Patch2: nextcloud-integritycheck-exclusion.patch BuildArch: noarch + +# Set this to the minimum supported php version Nextcloud will run on +# Exists to prevent accidental building on distros with outdated php's +BuildRequires: php(language) >= 8.0 BuildRequires: systemd-rpm-macros # expand pear macros on install