1 # Per-platform rpm configuration file.
3 #==============================================================================
4 # ---- per-platform macros.
7 %_vendor @RPMCANONVENDOR@
9 %_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}
10 %optflags @RPMRC_OPTFLAGS@
12 #==============================================================================
13 # ---- configure macros.
16 %_exec_prefix @exec_prefix@
19 %_libexecdir @libexecdir@
21 %_sysconfdir @sysconfdir@
22 %_sharedstatedir @sharedstatedir@
23 %_localstatedir @localstatedir@
26 %_includedir @includedir@
27 %_oldincludedir @oldincludedir@
31 #==============================================================================
32 # ---- Build policy macros.
34 #------------------------------------------------------------------------
35 # Expanded at end of %install
37 %__arch_install_post @ARCH_INSTALL_POST@
38 %__os_install_post %{___build_post}
40 %{__arch_install_post}\
43 #------------------------------------------------------------------------
44 # Expanded at end of %prep
47 %__chown_Rhf @__CHOWN_RHF@
48 %__chgrp_Rhf @__CHGRP_RHF@
49 %_fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
50 %_fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} @ROOT_GROUP@
51 %_fixperms %{__chmod} -Rf @FIXPERMS@