summaryrefslogtreecommitdiffstats
path: root/macros.multiarch
blob: 8cad465c70e18d57278c2176b9b3d289a07c7b0f (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 %MULTIARCH_DISTRO%

%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