Commit ab02e1d5 authored by Neal Gompa (ニール・ゴンパ)'s avatar Neal Gompa (ニール・ゴンパ) Committed by Jiri Denemark
Browse files

rpm: Fix conditional for defining %_vpath_builddir for RHEL <= 7

The conditional was incorrectly overriding %_vpath_builddir when
%rhel is not defined, which led to surprising behavior when the
global %_vpath_builddir path is set on Fedora already.
Signed-off-by: Neal Gompa (ニール・ゴンパ)'s avatarNeal Gompa <>
Message-Id: <>
Reviewed-by: Jiri Denemark's avatarJiri Denemark <>
parent fc191558
......@@ -32,7 +32,7 @@
# On RHEL 7 and older macro _vpath_builddir is not defined.
%if 0%{?rhel} <= 7
%if 0%{?rhel} && 0%{?rhel} <= 7
%define _vpath_builddir %{_target_platform}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment