teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

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

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