From 2822a03dded26b9453bddbba7c6a152de8204aec Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mar 07 2024 12:18:11 +0000 Subject: Build in developer mode when building for upstream --- diff --git a/systemd.spec b/systemd.spec index cdc5cfb..789ea36 100644 --- a/systemd.spec +++ b/systemd.spec @@ -611,7 +611,7 @@ package and is meant for use in exitrds. %{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1} CONFIGURE_OPTS=( - -Dmode=release + -Dmode=%[%{with upstream}?"developer":"release"] -Dsysvinit-path=/etc/rc.d/init.d -Drc-local=/etc/rc.d/rc.local -Dntp-servers='0.%{ntpvendor}.pool.ntp.org 1.%{ntpvendor}.pool.ntp.org 2.%{ntpvendor}.pool.ntp.org 3.%{ntpvendor}.pool.ntp.org'