From c323a213de7b5dc94afcb02045fea32205d262c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 25 Jun 2021 18:30:40 +0200 Subject: [PATCH] Adjust check for outdated triggers file With the switch to jinja2, the file is generated during normal build, so we need to move the check later. --- systemd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd.spec b/systemd.spec index f7e9921..ca773ce 100644 --- a/systemd.spec +++ b/systemd.spec @@ -521,6 +521,8 @@ CONFIGURE_OPTS=( %endif { %meson "${CONFIGURE_OPTS[@]}"; } +%meson_build + new_triggers=%{_vpath_builddir}/src/rpm/triggers.systemd.sh if ! diff -u %{SOURCE1} ${new_triggers}; then echo -e "\n\n\nWARNING: triggers.systemd in Source1 is different!" @@ -528,8 +530,6 @@ if ! diff -u %{SOURCE1} ${new_triggers}; then sleep 5 fi -%meson_build - %install %meson_install