Look for per-user macros primarily in ${XDG_CONFIG_HOME}/rpmmacros but fall back to traditional ~/.rpmmacros iff it exists and there's no config in the XDG location. As per the XDG spec, if ${XDG_CONFIG_HOME} is not set, it defaults to ~/.config
Fixes: #2153 You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2992 -- Commit Summary -- * Sanitize rpmGlob() behavior wrt non-glob patterns * Support per-user macro configuration in XDG_CONFIG_HOME -- File Changes -- M include/rpm/rpmfileutil.h (4) M lib/rpmrc.c (55) M rpmio/rpmglob.c (2) M tests/rpmmacro.at (35) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/2992.patch https://github.com/rpm-software-management/rpm/pull/2992.diff -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2992 You are receiving this because you are subscribed to this thread. Message ID: <rpm-software-management/rpm/pull/2...@github.com>
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint