# These are the default values that can be overridden by other
# (e.g. per-platform, per-system, per-packager, per-package) macros.
#
+# The directory where rpm's configuration and scripts live
+%_rpmconfigdir %{getconfdir}
+
# The directory where sources/patches will be unpacked and built.
%_builddir %{_topdir}/BUILD
b = be;
} else if (STREQ("getenv", f, fn)) {
b = getenv(buf);
+ } else if (STREQ("getconfdir", f, fn)) {
+ sprintf(buf, "%s", rpmConfigDir());
+ b = buf;
} else if (STREQ("S", f, fn)) {
for (b = buf; (c = *b) && risdigit(c);)
b++;
STREQ("url2path", f, fn) ||
STREQ("u2p", f, fn) ||
STREQ("getenv", f, fn) ||
+ STREQ("getconfdir", f, fn) ||
STREQ("S", f, fn) ||
STREQ("P", f, fn) ||
STREQ("F", f, fn)) {