prevent accidental building on distros with old php's

This commit is contained in:
Andrew Bauer 2024-09-05 15:47:57 -05:00
parent 2200403fb8
commit 5977cd12ba

View File

@ -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