Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > d6da6a1593760646e87db4bb3e2fe2e3 > files > 2

rpm-mageia-setup-2.20-9.1.mga6.x86_64.rpm

# /usr/lib/rpm/mageia/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 mageia
%_real_vendor mageia

%_vendor Mageia

%_gnu -gnu
%_target_platform	%{_target_cpu}-%{_real_vendor}-%{_target_os}%{?_gnu}

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

# automatic truncation of changelogs to 3 years
%_changelog_trimtime	%{lua:print(os.time() - 3 * 365 * 86400)}

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

#==============================================================================
# ---- 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

# directories #######################################
%_sysconfdir    /etc
%_initrddir     %{_sysconfdir}/rc.d/init.d
%_infodir       %_datadir/info
%_mandir        %_datadir/man
%_defaultdocdir %_datadir/doc

%_localstatedir %{_var}
%_logdir 	%{_var}/log
%_libexecdir 	%{_prefix}/libexec

%_docdir_fmt	%%{NAME}