Blame SOURCES/rpm-4.14.1-Add-envvar-that-will-be-present-during-RPM-build.patch

043c42
From bf636421120aa2c97f9e0fdcee3c211b4241bd86 Mon Sep 17 00:00:00 2001
043c42
From: Tomas Orsava <torsava@redhat.com>
043c42
Date: Mon, 29 Jan 2018 16:13:18 +0100
043c42
Subject: [PATCH] Add envvar that will be present during RPM build
043c42
043c42
Part of a Fedora Change for F28:
043c42
"Avoid /usr/bin/python in RPM build"
043c42
https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
043c42
---
043c42
 macros.in | 2 ++
043c42
 1 file changed, 2 insertions(+)
043c42
043c42
diff --git a/macros.in b/macros.in
043c42
index dd6ef67..68449e3 100644
043c42
--- a/macros.in
043c42
+++ b/macros.in
043c42
@@ -804,6 +804,8 @@ package or when debugging this package.\
043c42
   export PKG_CONFIG_PATH\
043c42
   CONFIG_SITE=${CONFIG_SITE:-NONE}\
043c42
   export CONFIG_SITE\
043c42
+  PYTHON_DISALLOW_AMBIGUOUS_VERSION=warn\
043c42
+  export PYTHON_DISALLOW_AMBIGUOUS_VERSION\
043c42
   \
043c42
   %{verbose:set -x}%{!verbose:exec > /dev/null}\
043c42
   umask 022\
043c42
-- 
043c42
2.13.6
043c42