1 From 35381b6cd6c1b571bf7e6b0640de0f54dbf94386 Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex.kanavin@gmail.com>
3 Date: Tue, 10 Jan 2017 14:11:30 +0200
4 Subject: [PATCH] Do not read config files from $HOME
6 Upstream-Status: Inappropriate [oe-core specific]
7 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10 1 file changed, 2 insertions(+), 4 deletions(-)
12 diff --git a/lib/rpmrc.c b/lib/rpmrc.c
13 index 4ed991321..19fe80f98 100644
16 @@ -458,8 +458,7 @@ static void setDefaults(void)
18 defrcfiles = rstrscat(NULL, confdir, "/rpmrc", ":",
19 confdir, "/" RPMCANONVENDOR "/rpmrc", ":",
20 - SYSCONFDIR "/rpmrc", ":",
22 + SYSCONFDIR "/rpmrc", ":");
26 @@ -471,8 +470,7 @@ static void setDefaults(void)
27 confdir, "/" RPMCANONVENDOR "/macros", ":",
28 SYSCONFDIR "/rpm/macros.*", ":",
29 SYSCONFDIR "/rpm/macros", ":",
30 - SYSCONFDIR "/rpm/%{_target}/macros", ":",
31 - "~/.rpmmacros", NULL);
32 + SYSCONFDIR "/rpm/%{_target}/macros", ":");
35 macrofiles = MACROFILES;