From b2210d9c8ae2b7f2b66bf325eec2cb811b3cce35 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 10 Oct 2023 09:50:10 +0200 Subject: [PATCH] Add missing vpath_builddir prefix This is a generated file located in the builddir. Resolves: RHEL-9028 --- libomp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libomp.spec b/libomp.spec index a2265f3..7266324 100644 --- a/libomp.spec +++ b/libomp.spec @@ -153,7 +153,7 @@ cp -R runtime/src %{buildroot}%{libomp_srcdir}/runtime # Generate lit config files. Strip off the last line that initiates the # test run, so we can customize the configuration. -head -n -1 runtime/test/lit.site.cfg >> %{buildroot}%{lit_cfg} +head -n -1 %{_vpath_builddir}/runtime/test/lit.site.cfg >> %{buildroot}%{lit_cfg} # Install custom fedora config file cp %{SOURCE4} %{buildroot}%{lit_fedora_cfg}