aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2005-05-06 04:57:26 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2005-05-06 04:57:26 +0000
commit69daf6266ad7695221960a5cfb573ff9e03a0731 (patch)
tree01ac906428272c2f790e524c8e52e7b02912a769
parentb6788caba8fc9126bbb469550cad51e4618ee665 (diff)
downloadrpm-setup-69daf6266ad7695221960a5cfb573ff9e03a0731.tar
rpm-setup-69daf6266ad7695221960a5cfb573ff9e03a0731.tar.gz
rpm-setup-69daf6266ad7695221960a5cfb573ff9e03a0731.tar.bz2
rpm-setup-69daf6266ad7695221960a5cfb573ff9e03a0731.tar.xz
rpm-setup-69daf6266ad7695221960a5cfb573ff9e03a0731.zip
build_sysmacrospath take %name if no name
-rw-r--r--macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index d973599..733d3d8 100644
--- a/macros.in
+++ b/macros.in
@@ -31,7 +31,7 @@
%__gzip /usr/bin/gzip
%_sys_macros_dir @RPMSYSCONFDIR@/macros.d
-%build_sysmacrospath() %{_sys_macros_dir}/%{1}.macros
+%build_sysmacrospath() %{_sys_macros_dir}/%{?1:%{1}}%{?!1:%{name}}.macros
#==============================================================================
# ---- Build system path macros.