summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/rpmfc.c1
-rw-r--r--macros.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/build/rpmfc.c b/build/rpmfc.c
index 08d517233..26606378f 100644
--- a/build/rpmfc.c
+++ b/build/rpmfc.c
@@ -316,6 +316,7 @@ static int getOutputFrom(ARGV_t argv,
rpmlog(RPMLOG_DEBUG, "\texecv(%s) pid %d\n",
argv[0], (unsigned)getpid());
+ unsetenv("DEBUGINFOD_URLS");
if (buildRoot)
setenv("RPM_BUILD_ROOT", buildRoot, 1);
diff --git a/macros.in b/macros.in
index c08452cf9..a2411d784 100644
--- a/macros.in
+++ b/macros.in
@@ -740,6 +740,7 @@ package or when debugging this package.\
LANG=C\
export LANG\
unset CDPATH DISPLAY ||:\
+ unset DEBUGINFOD_URLS ||:\
%{?buildroot:RPM_BUILD_ROOT=\"%{buildroot}\"\
export RPM_BUILD_ROOT}\
%{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\