Changed the occurences of redhat-linux-build to %{_vpath_builddir}

to ensure proper macro usage inside the spec file
This commit is contained in:
Pavol Sloboda 2025-05-30 10:05:35 +00:00 committed by Michal Schorm
parent 6decd3d82b
commit a2f8ad1597

View File

@ -836,12 +836,12 @@ rm -r storage/columnstore
rm -r debian
%if %{with bundled_fmt}
mkdir -p redhat-linux-build/extra/libfmt/
mv %{SOURCE1} redhat-linux-build/extra/libfmt/
mkdir -p %{_vpath_builddir}/extra/libfmt/
mv %{SOURCE1} %{_vpath_builddir}/extra/libfmt/
%endif
%if %{with bundled_pcre}
mkdir -p redhat-linux-build/extra/pcre2/
mv %{SOURCE4} redhat-linux-build/extra/pcre2/
mkdir -p %{_vpath_builddir}/extra/pcre2/
mv %{SOURCE4} %{_vpath_builddir}/extra/pcre2/
%endif
# Remove JAR files that upstream puts into tarball