From a9172a2e9c8cd53f00453e15ec339229925c87df Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Feb 11 2024 19:31:41 +0000 Subject: Remove reconfiguration logic meson handles this internally since 1.3 so we don't need this logic anymore. --- diff --git a/systemd.spec b/systemd.spec index a71549f..fe91d40 100644 --- a/systemd.spec +++ b/systemd.spec @@ -702,14 +702,6 @@ CONFIGURE_OPTS=( %global _lto_cflags %nil %endif -# Do configuration. If doing an inplace build, try to do -# reconfiguration to pick up new options. -%if %{with inplace} - command -v ccache 2>/dev/null && { CC="${CC:-ccache %__cc}"; CXX="${CXX:-ccache %__cxx}"; } - - [ -e %{_vpath_builddir}/build.ninja ] && - %__meson configure %{_vpath_builddir} "${CONFIGURE_OPTS[@]}" || -%endif { %meson "${CONFIGURE_OPTS[@]}"; } %meson_build