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.
This commit is contained in:
parent
379f157396
commit
c323a213de
@ -521,6 +521,8 @@ CONFIGURE_OPTS=(
|
|||||||
%endif
|
%endif
|
||||||
{ %meson "${CONFIGURE_OPTS[@]}"; }
|
{ %meson "${CONFIGURE_OPTS[@]}"; }
|
||||||
|
|
||||||
|
%meson_build
|
||||||
|
|
||||||
new_triggers=%{_vpath_builddir}/src/rpm/triggers.systemd.sh
|
new_triggers=%{_vpath_builddir}/src/rpm/triggers.systemd.sh
|
||||||
if ! diff -u %{SOURCE1} ${new_triggers}; then
|
if ! diff -u %{SOURCE1} ${new_triggers}; then
|
||||||
echo -e "\n\n\nWARNING: triggers.systemd in Source1 is different!"
|
echo -e "\n\n\nWARNING: triggers.systemd in Source1 is different!"
|
||||||
@ -528,8 +530,6 @@ if ! diff -u %{SOURCE1} ${new_triggers}; then
|
|||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%meson_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user