summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-03-27 14:01:47 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-03-27 14:01:47 +0200
commit2d2bda29c159f16689c05fd4dda20a3f70597e1d (patch)
treea0c09d8ec217e4c646ade85d2fad11704774bb3b /macros.in
parenta5eeff6d42d6452a85942f89a6b3a1196ccc47bc (diff)
downloadrpm-2d2bda29c159f16689c05fd4dda20a3f70597e1d.tar.gz
Add built-in %getconfdir macro for getting rpmConfigDir() value
- define %_rpmconfigdir via %getconfdir in the main macro config, this avoids it getting lost on macro reloads as happens when building several packages at once
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/macros.in b/macros.in
index b829573e1..5d13845b3 100644
--- a/macros.in
+++ b/macros.in
@@ -141,6 +141,9 @@
# 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