aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-06-25 23:51:37 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-06-25 23:51:37 +0000
commitba4e7b4ad5e20d16d31ebc8d6cbd3821b0894363 (patch)
treef714f50e7030754c76298142ee7b2838f9a98de9
parent7a8a6a453fb6cc13cfd5f6fb1caf053612d7d849 (diff)
downloadrpm-setup-ba4e7b4ad5e20d16d31ebc8d6cbd3821b0894363.tar
rpm-setup-ba4e7b4ad5e20d16d31ebc8d6cbd3821b0894363.tar.gz
rpm-setup-ba4e7b4ad5e20d16d31ebc8d6cbd3821b0894363.tar.bz2
rpm-setup-ba4e7b4ad5e20d16d31ebc8d6cbd3821b0894363.tar.xz
rpm-setup-ba4e7b4ad5e20d16d31ebc8d6cbd3821b0894363.zip
- add arch_tagged macros to tag dependencies when 32/64 bits does matter
-rw-r--r--macros.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/macros.in b/macros.in
index 3f3d8a8..b71ca92 100644
--- a/macros.in
+++ b/macros.in
@@ -91,6 +91,9 @@
%_multilibno 1
%_multilibpatt (/%{_lib}|/usr/%{_lib}(|/gconv)|/usr/local/%{_lib}|/usr/X11R6/%{_lib}|/opt/%{_lib})/[^/]*\\.([oa]|la|so[0-9.]*)$
+%_arch_tag_suffix ()(%_lib)
+%arch_tagged() %{1}%{_arch_tag_suffix} %{?2:%{2} %{3}%{?!3:%{error:undefined 3rd argument in arch_tagged}}}
+
%_sysconfdir /etc
%_localstatedir %{_var}/lib
%_logdir %{_var}/log