summaryrefslogtreecommitdiffstats
path: root/macros.multiarch
blob: 45fc69e2361d32b8a8e6daf6eb500d32fb449b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%multiarch_platform		multiarch-%{_arch}-%{_target_os}
%multiarch_bindir		%{_bindir}/%{multiarch_platform}
%multiarch_includedir		%{_includedir}/%{multiarch_platform}
%multiarch_x11bindir		%{_prefix}/X11R6/bin/%{multiarch_platform}
%multiarch_x11includedir	%{_prefix}/X11R6/include/%{multiarch_platform}

%multiarch_distro 1020

%multiarch_binaries() \
%if %{mdkversion} >= %{multiarch_distro} \
%{_prefix}/lib/rpm/mkmultiarch binaries %* \
%endif

%multiarch_includes() \
%if %{mdkversion} >= %{multiarch_distro} \
%{_prefix}/lib/rpm/mkmultiarch includes %* \
%endif

%multiarch() \
%if %{mdkversion} >= %{multiarch_distro} \
%* \
%endif