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 %_defaultdocdir @DEFAULTDOCDIR@
33 #==============================================================================
34 # ---- Build policy macros.
36 #------------------------------------------------------------------------
37 # Expanded at end of %install
39 %__arch_install_post @ARCH_INSTALL_POST@
40 %__os_install_post %{___build_post}
42 %{__arch_install_post}\
45 #------------------------------------------------------------------------
46 # Expanded at end of %prep
49 %__chown_Rhf @__CHOWN_RHF@
50 %__chgrp_Rhf @__CHGRP_RHF@
51 %_fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
52 %_fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} @ROOT_GROUP@
53 %_fixperms %{__chmod} -Rf @FIXPERMS@