From 5977cd12bab3a7352d025b4626307eaa95eb50a8 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Thu, 5 Sep 2024 15:47:57 -0500 Subject: [PATCH] prevent accidental building on distros with old php's --- nextcloud.spec | 4 ++++ 1 file changed, 4 insertions(+) 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