aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
blob: bf823986284720015c85ccaa386331eb13698342 (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
47
48
49
50
51
52
53
54
55
56
# @RPMVENDORDIR@/macros:
# Main Mangeia rpm configuration
# Only modified macros goes here
#
# $Id: macros.in 260920 2009-09-25 10:10:18Z blino $
#
# This is a global RPM configuration file. All changes made here will
# be lost when the rpm package is upgraded. Any per-system configuration
# should be added to /etc/rpm/macros, while per-user configuration should
# be added to ~/.rpmmacros.

%_host_vendor @RPMCANONVENDOR@
%_real_vendor @RPMCANONVENDOR@

%_vendor @RPMVENDOR@

%_gnu @CANONTARGETGNU@
%_target_platform	%{_target_cpu}-%{_real_vendor}-%{_target_os}%{?_gnu}

%_host %{_host_cpu}-%{_real_vendor}-%{_host_os}

%_changelog_truncate	3 years ago

# use LZMA to compress binary packages:
%_binary_payload w5.lzdio

#==============================================================================
# ---- GPG/PGP/PGP5 signature macros.
#	Macro(s) to hold the arguments passed to GPG/PGP for package
#	signing and verification.
#

# We disable the gpg key automatic querying 
%_hkp_keyserver_query   %nil


#	Verify digest/signature flags for various rpm modes:
#	0x30300 (_RPMVSF_NODIGESTS)    --nohdrchk      if set, don't check digest(s)
#	0xc0c00 (_RPMVSF_NOSIGNATURES) --nosignature   if set, don't check signature(s)
#	0xf0000 (_RPMVSF_NOPAYLOAD)    --nolegacy      if set, check header+payload (if possible)
#	0x00f00 (_RPMVSF_NOHEADER)     --nohdrchk      if set, don't check rpmdb headers
%_vsflags_query		0xc0c00


#	Open all indices before doing chroot(2).
#
%_openall_before_chroot	1

%_repackage_all_erasures	0

%_query_all_fmt		%%{name}-%%{version}-%%{release}

%_rpmlock_path  %{_dbpath}/__db.000

# activate filetriggers (cf http://wiki.mandriva.com/en/Rpm_filetriggers)
%_filetriggers_dir /var/lib/rpm/filetriggers