Fix COPR build: expand TAR_NAME variable in BUILD_REQUIRES

The BUILD_REQUIRES heredoc was using a quoted delimiter ('BREQEOF'),
which prevented shell variable expansion of ${TAR_NAME}. This caused
RPM build errors when the spec file received the literal string
"wezterm-${TAR_NAME}.tar.gz" instead of the expanded filename.

Changed to an unquoted delimiter (BREQEOF) to enable variable expansion.
This commit is contained in:
Jeremy Fitzhardinge authored and Wez Furlong committed 2026-01-15 08:50:19 +00:00
1 parent 6e02c91e6b
commit f3602d2b21
1 file changed
+1 -1
+1 -1
View File
@@ -160,7 +160,7 @@ cargo build --release \
-p strip-ansi-escapes
BUILDEOFEOF
)
BUILD_REQUIRES=$(cat <<'BREQEOF'
BUILD_REQUIRES=$(cat <<BREQEOF
BuildRequires: gcc, gcc-c++, make, curl, fontconfig-devel, openssl-devel, libxcb-devel, libxkbcommon-devel, libxkbcommon-x11-devel, wayland-devel, xcb-util-devel, xcb-util-keysyms-devel, xcb-util-image-devel, xcb-util-wm-devel, git
%if 0%{?suse_version}
BuildRequires: Mesa-libEGL-devel