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@
25 %_includedir @includedir@
26 %_oldincludedir @oldincludedir@
30 #==============================================================================
31 # ---- Build policy macros.
33 #------------------------------------------------------------------------
34 # Expanded at end of %install (Red Hat uses these for 6.2)
36 #%__spec_install_post \
37 # /usr/lib/rpm/brp-compress \
38 # /usr/lib/rpm/brp-strip \
39 # /usr/lib/rpm/brp-strip-comment-note \
41 #------------------------------------------------------------------------
42 # Expanded at end of %prep (Red Hat uses these for 6.2)
45 %__chown_Rhf @__CHOWN_RHF@
46 %__chgrp_Rhf @__CHGRP_RHF@
47 %_fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
48 %_fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} @ROOT_GROUP@
49 %_fixperms %{__chmod} -Rf @FIXPERMS@