summaryrefslogtreecommitdiff
path: root/platform.in
blob: 37fbe5ee05024b6c9bddc39ce195e28766bbcaa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Per-platform rpm configuration file.

#==============================================================================
# ---- per-platform macros.
#
%_arch			@RPMCANONARCH@
%_vendor		@RPMCANONVENDOR@
%_os			@RPMCANONOS@
%_target_platform	%{_target_cpu}-%{_vendor}-%{_target_os}
%optflags		@RPMRC_OPTFLAGS@

#==============================================================================
# ---- configure macros.
#
%_prefix		@prefix@
%_exec_prefix		@exec_prefix@
%_bindir		@bindir@
%_sbindir		@sbindir@
%_libexecdir		@libexecdir@
%_datadir		@datadir@
%_sysconfdir		@sysconfdir@
%_sharedstatedir	@sharedstatedir@
%_localstatedir		@localstatedir@
%_libdir		@libdir@
%_includedir		@includedir@
%_oldincludedir		@oldincludedir@
%_infodir		@infodir@
%_mandir		@mandir@

#==============================================================================
# ---- Build policy macros.
#
#------------------------------------------------------------------------
#	Expanded at end of %install (Red Hat uses these for 6.2)
#
#%__spec_install_post    \
#    /usr/lib/rpm/brp-compress \
#    /usr/lib/rpm/brp-strip \
#    /usr/lib/rpm/brp-strip-comment-note \
#%{nil}
#------------------------------------------------------------------------
#	Expanded at end of %prep (Red Hat uses these for 6.2)
#
%_fixowner              [ `%{__id} -u` = '0' ] && %{__chown} -Rhf root
%_fixgroup              [ `%{__id} -u` = '0' ] && %{__chgrp} -Rhf root
%_fixperms              %{__chmod} -Rf a+rX,g-w,o-w