Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

Default configuration: /usr/lib/rpm/rpmpopt-4.5

#
#
# /usr/lib/rpm/rpmpopt.  Generated from rpmpopt.in by configure.
# $Id: rpmpopt.in,v 2.42.2.8 2008/06/06 15:41:24 jbj Exp $
#
# This file *should not be modified*. Local customizations
# belong in /etc/popt, not here. This file will be replaced
# whenever a new version of RPM is installed.
#
# Note: Not all popt aliases are documented. This is a decision on my
# part as to which are the more important aliases. Feel free to clip
# a copy of the alias/exec here and place in /etc/popt or ~/.popt with
# your own words added. It's easier than arguing about how many options
# fit on the head of an executable :-)
#

rpm	alias --scripts --qf '\
%|PRETRANS?{pretransinstall scriptlet\
%|PRETRANSPROG?{ (using %{PRETRANSPROG})}|:\n%{PRETRANS}\n}:\
{%|PRETRANSPROG?{pretransinstall program: %{PRETRANSPROG}\n}|}|\
\
%|PREIN?{preinstall scriptlet\
%|PREINPROG?{ (using %{PREINPROG})}|:\n%{PREIN}\n}:\
{%|PREINPROG?{preinstall program: %{PREINPROG}\n}|}|\
\
%|POSTIN?{postinstall scriptlet\
%|POSTINPROG?{ (using %{POSTINPROG})}|:\n%{POSTIN}\n}:\
{%|POSTINPROG?{postinstall program: %{POSTINPROG}\n}|}|\
\
%|PREUN?{preuninstall scriptlet\
%|PREUNPROG?{ (using %{PREUNPROG})}|:\n%{PREUN}\n}:\
{%|PREUNPROG?{preuninstall program: %{PREUNPROG}\n}|}|\
\
%|POSTUN?{postuninstall scriptlet\
%|POSTUNPROG?{ (using %{POSTUNPROG})}|:\n%{POSTUN}\n}:\
{%|POSTUNPROG?{postuninstall program: %{POSTUNPROG}\n}|}|\
\
%|POSTTRANS?{posttransinstall scriptlet\
%|POSTTRANSPROG?{ (using %{POSTTRANSPROG})}|:\n%{POSTTRANS}\n}:\
{%|POSTTRANSPROG?{posttransinstall program: %{POSTTRANSPROG}\n}|}|\
\
%|VERIFYSCRIPT?{verify scriptlet\
%|VERIFYSCRIPTPROG?{ (using %{VERIFYSCRIPTPROG})}|:\n%{VERIFYSCRIPT}\n}:\
{%|VERIFYSCRIPTPROG?{verifyscript program: %{VERIFYSCRIPTPROG}\n}|}|\
' \
	--POPTdesc=$"list install/erase scriptlets from package(s)"

rpm     alias --orphandirs --nofiles \
                   --pipe "grep '^/' | sort -u" \
        --POPTdesc=$"display directories needed, but not provided, by packages"

rpm	alias --setperms -q --qf '[\[ -L %{FILENAMES:shescape} \] || chmod %7.7{FILEMODES:octal} %{FILENAMES:shescape}\n]' \
		   --pipe "grep -v \(none\) | sed 's/chmod .../chmod /' | sh" \
	--POPTdesc=$"set permissions of files in a package"

rpm	alias --setugids -q --qf \
        '[chown -h -- %{FILEUSERNAME:shescape}:%{FILEGROUPNAME:shescape} %{FILENAMES:shescape}\n]' \
        --pipe "grep -v '(none)' | sh" \
	--POPTdesc=$"set user/group ownership of files in a package"

rpm	alias --conflicts	--qf \
  "[%{CONFLICTNAME}%{CONFLICTFLAGS:depflags}%{CONFLICTVERSION}\n]" \
	--POPTdesc=$"list capabilities this package conflicts with"
rpm	alias --obsoletes	--qf \
  "[%{OBSOLETENAME}%|OBSOLETEFLAGS?{%{OBSOLETEFLAGS:depflags}%{OBSOLETEVERSION}}:{}|\n]" \
	--POPTdesc=$"list other packages removed by installing this package"
rpm	alias --provides	--qf \
  "[%{PROVIDENAME}%|PROVIDEFLAGS?{%{PROVIDEFLAGS:depflags}%{PROVIDEVERSION}}:{}|\n]" \
	--POPTdesc=$"list capabilities that this package provides"

rpm	alias --requires	--qf \
  "[%{REQUIRENAME}%{REQUIREFLAGS:depflags}%{REQUIREVERSION}\n]" \
	--POPTdesc=$"list capabilities required by package(s)"
rpm	alias -R --requires

rpm	alias --suggests	--qf "[%{suggests}\n]" \
	--POPTdesc=$"list enhancements suggested by package(s)"

rpm	alias --enhances	--qf "[%{enhances}\n]" \
	--POPTdesc=$"list enhancements suggested by package(s)"

rpm	alias --info --qf 'Name        : %-27{NAME}  Relocations: %|PREFIXES?{[%{PREFIXES} ]}:{(not relocatable)}|\n\
Version     : %-27{VERSION}       Vendor: %{VENDOR}\n\
Release     : %-27{RELEASE}   Build Date: %{BUILDTIME:date}\n\
Install Date: %|INSTALLTIME?{%-27.27{INSTALLTIME:date}}:{(not installed)         }|   Build Host: %{BUILDHOST}\n\
Group       : %-29.29{GROUP} Source RPM: %{SOURCERPM}\n\
Size        : %-27{SIZE}%|LICENSE?{      License: %{LICENSE}}|\n\
Signature   : %|DSAHEADER?{%{DSAHEADER:pgpsig}}:{%|RSAHEADER?{%{RSAHEADER:pgpsig}}:{%|SIGGPG?{%{SIGGPG:pgpsig}}:{%|SIGPGP?{%{SIGPGP:pgpsig}}:{(none)}|}|}|}|\n\
%|PACKAGER?{Packager    : %{PACKAGER}\n}|\
%|URL?{URL         : %{URL}\n}|\
Summary     : %{SUMMARY}\n\
Description :\n%{DESCRIPTION}\n' \
	--POPTdesc=$"list descriptive information from package(s)"

rpm	alias --changelog --qf '[* %{CHANGELOGTIME:day} %{CHANGELOGNAME}\n%{CHANGELOGTEXT}\n\n]' \
	--POPTdesc=$"list change logs for this package"

#==============================================================================
rpm	alias --xml --qf '[%{*:xml}\n]' \
	--POPTdesc=$"list metadata in xml"
rpm	alias --yaml --qf '[%{*:yaml}\n]' \
	--POPTdesc=$"list metadata in yaml"

#==============================================================================
rpm	alias --yum:primary.xml --qf '\
<package type="rpm">\
\n  <name>%{NAME:cdata}</name>\
\n  <arch>%{ARCH:cdata}</arch>\
\n  <version epoch="%|EPOCH?{%{EPOCH}}:{0}|" ver="%{VERSION:cdata}" rel="%{RELEASE:cdata}"/>\
\n  <checksum type="sha" pkgid="NO">%|HDRID?{%{HDRID}}:{XXX}|</checksum>\
\n  <summary>%{SUMMARY:cdata}</summary>\
\n  <description>%{DESCRIPTION:cdata}</description>\
\n  <packager>%|PACKAGER?{%{PACKAGER:cdata}}:{}|</packager>\
\n  <url>%|URL?{%{URL:cdata}}:{}|</url>\
\n  <time file="%{PACKAGETIME}" build="%{BUILDTIME}"/>\
\n  <size package="%{PACKAGESIZE}" installed="%{SIZE}" archive="%{ARCHIVESIZE}"/>\
\n  <location %|PACKAGEBASEURL?{xml:base=\"%{PACKAGEBASEURL:cdata}\" }|href="%{PACKAGEORIGIN:bncdata}"/>\
\n  <format>\
%|license?{\
\n    <rpm:license>%{LICENSE:cdata}</rpm:license>\
}:{\
\n    <rpm:license/>\
}|\
%|vendor?{\
\n    <rpm:vendor>%{VENDOR:cdata}</rpm:vendor>\
}:{\
\n    <rpm:vendor/>\
}|\
%|group?{\
\n    <rpm:group>%{GROUP:cdata}</rpm:group>\
}:{\
\n    <rpm:group/>\
}|\
%|buildhost?{\
\n    <rpm:buildhost>%{BUILDHOST:cdata}</rpm:buildhost>\
}:{\
\n    <rpm:buildhost/>\
}|\
%|sourcerpm?{\
\n    <rpm:sourcerpm>%{SOURCERPM:cdata}</rpm:sourcerpm>\
}|\
\n    <rpm:header-range start="%{HEADERSTARTOFF}" end="%{HEADERENDOFF}"/>\
%|providename?{\
\n    <rpm:provides>\
[\
\n      %{providexmlentry}\
]\
\n    </rpm:provides>\
}:{\
\n    <rpm:provides/>\
\n}|\
%|requirename?{\
\n    <rpm:requires>\
[\
\n      %{requirexmlentry}\
]\
\n    </rpm:requires>\
}:{\
\n    <rpm:requires/>\
}|\
%|conflictname?{\
\n    <rpm:conflicts>\
[\
\n      %{conflictxmlentry}\
]\
\n    </rpm:conflicts>\
}:{\
\n    <rpm:conflicts/>\
}|\
%|obsoletename?{\
\n    <rpm:obsoletes>\
[\
\n      %{obsoletexmlentry}\
]\
\n    </rpm:obsoletes>\
}:{\
\n    <rpm:obsoletes/>\
}|\
%|filesxmlentry1?{\
[\
\n    %{filesxmlentry1}\
]\
}|\
\n  </format>\
\n</package>\
\n' \
	--POPTdesc=$"display yum primary.xml markup"

rpm	alias --yum:primary.sqlite --qf "\
INSERT into packages values (\
'%{DBINSTANCE}'\
, '%|HDRID?{%{HDRID}}:{XXX}|'\
,\n '%{NAME:sqlescape}'\
, '%{ARCH:sqlescape}'\
, '%{VERSION:sqlescape}'\
, '%|EPOCH?{%{EPOCH}}:{0}|'\
, '%{RELEASE:sqlescape}'\
,\n '%{SUMMARY:sqlescape}'\
,\n '%{DESCRIPTION:sqlescape}'\
,\n '%|URL?{%{URL:sqlescape}}|'\
, '%{PACKAGETIME}'\
, '%{BUILDTIME}'\
, '%|license?{%{LICENSE:sqlescape}}|'\
,\n '%|vendor?{%{VENDOR:sqlescape}}|'\
, '%|group?{%{GROUP:sqlescape}}|'\
,\n '%|buildhost?{%{BUILDHOST:sqlescape}}|'\
, '%|sourcerpm?{%{SOURCERPM:sqlescape}}|'\
,\n '%{HEADERSTARTOFF}'\
, '%{HEADERENDOFF}'\
, '%|PACKAGER?{%{PACKAGER:sqlescape}}|'\
, '%{PACKAGESIZE}'\
, '%{SIZE}'\
, '%{ARCHIVESIZE}'\
,\n '%{PACKAGEORIGIN:bncdata}'\
,\n '%{PACKAGEBASEURL:sqlescape}'\
, 'sha'\
);\
%|providename?{[\
\nINSERT into provides values (\
%{providesqlentry}\
);\
]}|\
%|conflictname?{[\
\nINSERT into conflicts values (\
%{conflictsqlentry}\
);\
]}|\
%|obsoletename?{[\
\nINSERT into obsoletes values (\
%{conflictsqlentry}\
);\
]}|\
%|requirename?{[\
\nINSERT into requires values (\
%{requiresqlentry}\
);\
]}|\
%|basenames?{[\
\nINSERT into files    values (\
%{filessqlentry1}\
);\
]}|\
\n"\
	--POPTdesc=$"display yum primary.sqlite import"

rpm	alias --yum:primary.yaml --qf '\
Package:\
\n  Id:          %|HDRID?{%{HDRID}}:{-}|\
\n  Name:        %{NAME:yaml}\
\n  Arch:        %{ARCH:yaml}\
\n  Version:     %{VERSION:yaml}\
\n  Epoch:       %|EPOCH?{%{EPOCH}}:{0}|\
\n  Release:     %{RELEASE:yaml}\
\n  Summary:     %{SUMMARY:yaml}\
\n  Description: %{DESCRIPTION:yaml}\
\n  Url:         %|URL?{%{URL:yaml}}:{-}|\
\n  Filetime:    %{PACKAGETIME}\
\n  Buildtime:   %{BUILDTIME}\
\n  License:     %|license?{%{LICENSE:yaml}}:{-}|\
\n  Vendor:      %|vendor?{%{VENDOR:yaml}}:{-}|\
\n  Group:       %|group?{%{GROUP:yaml}}:{-}|\
\n  Buildhost:   %|buildhost?{%{BUILDHOST:yaml}}:{-}|\
\n  Sourcerpm:   %|sourcerpm?{%{SOURCERPM:yaml}}:{-}|\
\n  Hdrstart:    %{HEADERSTARTOFF}\
\n  Hdrend:      %{HEADERENDOFF}\
\n  Packager:    %|PACKAGER?{%{PACKAGER:yaml}}:{-}|\
\n  Packagesize: %{PACKAGESIZE}\
\n  Size:        %{SIZE}\
\n  Archivesize: %{ARCHIVESIZE}\
\n  Location:    %{PACKAGEORIGIN:yaml}\
\n  BaseURL:     %|PACKAGEBASEURL?{%{PACKAGEBASEURL:yaml}}:{-}|\
\n  Idtype:      sha\
\n  Rpm:\
%|license?{\
\n    License: 	 %{LICENSE:yaml}\
}|\
%|vendor?{\
\n    Vendor:    %{VENDOR:yaml}\
}|\
%|group?{\
\n    Group:     %{GROUP:yaml}\
}|\
%|buildhost?{\
\n    Buildhost: %{BUILDHOST:yaml}\
}|\
%|sourcerpm?{\
\n    Sourcerpm: %{SOURCERPM:yaml}\
}|\
\n    Hdrstart:  %{HEADERSTARTOFF}\
\n    Hdrend:    %{HEADERENDOFF}\
%|providexmlentry?{\
\n    Provides:\
[\
\n      - %{providesqlentry}\
]\
}|\
%|requirexmlentry?{\
\n    Requires:\
[\
\n      - %{requiresqlentry}\
]\
}|\
%|conflictxmlentry?{\
\n    Conflicts:\
[\
\n      - %{conflictsqlentry}\
]\
}|\
%|obsoletexmlentry?{\
\n    Obsoletes:\
[\
\n      - %{obsoletesqlentry}\
]\
}|\
%|filesxmlentry1?{\
\n    Files:\
[\
\n      - %{filessqlentry1}\
]\
}|\
\n'\
	--POPTdesc=$"display yum primary.yaml markup"

rpm	alias --yum:filelists.xml --qf '\
<package pkgid="%|HDRID?{%{HDRID}}:{XXX}|" name="%{NAME:cdata}" arch="%{ARCH:cdata}">\
\n  <version epoch="%|EPOCH?{%{EPOCH}}:{0}|" ver="%{VERSION:cdata}" rel="%{RELEASE:cdata}"/>\
%|filesxmlentry2?{\
[\
\n  %{filesxmlentry2}\
]\
}|\
\n</package>\
\n' \
	--POPTdesc=$"display yum filelists.xml markup"

rpm	alias --yum:filelists.sqlite --qf "\
INSERT into packages values (\
'%{DBINSTANCE}'\
, '%|HDRID?{%{HDRID}}:{XXX}|'\
);\
%|basenames?{[\
\nINSERT into filelist values (\
%{filessqlentry2}\
);\
]}|\
\n" \
	--POPTdesc=$"display yum filelists.sqlite import"

rpm	alias --yum:filelists.yaml --qf '\
Filelists:\
\n  Id:      %|HDRID?{%{HDRID}}:{XXX}|\
\n  Name:    %{NAME:yaml}\
\n  Arch:    %{ARCH:yaml}\
\n  Epoch:   %|EPOCH?{%{EPOCH}}:{0}|\
\n  Version: %{VERSION:yaml}\
\n  Release: %{RELEASE:yaml}\
\n  Files:\
%|filesxmlentry2?{\
[\
\n    - %{filesxmlentry2}\
]\
}|\
\n' \
	--POPTdesc=$"display yum filelists.yaml markup"

rpm	alias --yum:other.xml --qf '\
<package pkgid="%|HDRID?{%{HDRID}}:{XXX}|" name="%{NAME:cdata}" arch="%{ARCH:cdata}">\
\n  <version epoch="%|EPOCH?{%{EPOCH}}:{0}|" ver="%{VERSION:cdata}" rel="%{RELEASE:cdata}"/>\
%|changelogname?{\
[\
\n  <changelog author="%{CHANGELOGNAME:cdata}" date="%{CHANGELOGTIME}">%{CHANGELOGTEXT:cdata}</changelog>\
]\
}:{\
\n  <changelog/>\
}|\
\n</package>\
\n' \
	--POPTdesc=$"display yum other.xml markup"

rpm	alias --yum:other.sqlite --qf "\
INSERT into packages values (\
'%{DBINSTANCE}'\
, '%|HDRID?{%{HDRID}}:{XXX}|'\
);\
%|changelogname?{[\
\nINSERT into changelog values (\
'XXX'\
, '%{CHANGELOGNAME:sqlescape}'\
, '%{CHANGELOGTIME}'\
, '%{CHANGELOGTEXT:sqlescape}'\
);\
]}:{\
\nINSERT into changelog values ('%{DBINSTANCE}', '', '', '');\
}|\
\n" \
	--POPTdesc=$"display yum other.sqlite import"

rpm	alias --yum:other.yaml --qf '\
Other:\
\n  Id:      %|HDRID?{%{HDRID}}:{XXX}|\
\n  Name:    %{NAME:yaml}\
\n  Arch:    %{ARCH:yaml}\
\n  Epoch:   %|EPOCH?{%{EPOCH}}:{0}|\
\n  Version: %{VERSION:yaml}\
\n  Release: %{RELEASE:yaml}\
\n  Changelogs:\
%|changelogname?{\
[\
\n    - <changelog author="%{CHANGELOGNAME:cdata}" date="%{CHANGELOGTIME}">%{CHANGELOGTEXT:cdata}</changelog>\
]\
}|\
\n' \
	--POPTdesc=$"display yum other.yaml markup"

#==============================================================================
rpm	alias --triggerscripts --qf '\
[trigger%{TRIGGERTYPE} scriptlet (using %{TRIGGERSCRIPTPROG}) -- %{TRIGGERCONDS}\n\
%{TRIGGERSCRIPTS}\n]'
rpm	alias --triggers --triggerscripts \
	--POPTdesc=$"list trigger scriptlets from package(s)"

rpm	alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
	--pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-45s %-s\n\", $1, substr($0,length($1)+2))}' " \
	--POPTdesc=$"list package(s) by install time, most recent first"

rpm	alias --dupes	--qf '%|SOURCERPM?{%{name}.%{arch}}:{%|ARCH?{%{name}}:{%{name}-%{version}}|}|\n' --pipe "sort | uniq -d" \
	--POPTdesc=$"list duplicated packages"

rpm	alias --filesbypkg --qf '[%-25{=NAME} %{FILENAMES}\n]' \
	--POPTdesc=$"list all files from each package"

rpm	alias --fileclass --qf '[%{FILENAMES}\t%{FILECLASS}\n]' \
	--POPTdesc=$"list file names with classes"

rpm	alias --filecolor --qf '[%{FILENAMES}\t%{FILECOLORS}\n]' \
	--POPTdesc=$"list file names with colors"

rpm	alias --filecontext --qf '[%{FILENAMES}\t%{FILECONTEXTS}\n]' \
	--POPTdesc=$"list file names with security context from header"

rpm	alias --fscontext --qf '[%{FILENAMES}\t%{FSCONTEXTS}\n]' \
	--POPTdesc=$"list file names with security context from file system"

rpm	alias --recontext --qf '[%{FILENAMES}\t%{RECONTEXTS}\n]' \
	--POPTdesc=$"list file names with security context from policy RE"

rpm	alias --fileprovide --qf '[%{FILENAMES}\t%{FILEPROVIDE}\n]' \
	--POPTdesc=$"list file names with provides"

rpm	alias --filerequire --qf '[%{FILENAMES}\t%{FILEREQUIRE}\n]' \
	--POPTdesc=$"list file names with requires"

rpm alias --vendorprovides -q --define '_dbpath /usr/lib/rpmdb/%{_arch}-%{_vendor}-%{_os}/%{_vendor}' --whatprovides \
	--POPTdesc=$"find package name that contains a provided capability (needs rpmdb-vendor package installed)"

rpm alias --vendorrequires -q --define '_dbpath /usr/lib/rpmdb/%{_arch}-%{_vendor}-%{_os}/%{_vendor}' --whatrequires \
	--POPTdesc=$"find package name that contains a required capability (needs rpmdb-vendor package installed)"

#
# Autorollback aliases
rpm alias --autorollback --define '_rollback_transaction_on_failure 1' \
	--POPTdesc=$"Failed transactions will be rolled back automatically"

rpm     alias --blink   --qf '%{name}-%{version}-%{release}.%|SOURCERPM?{%{arch}.rpm}:{%|ARCH?{src.rpm}:{pubkey}|}|\n%|BLINKNEVRA?{[\t<= %{BLINKNEVRA}.rpm\n]}|'
 \
        --POPTdesc=$"display package(s) previously installed"
rpm     alias --flink   --qf '%{name}-%{version}-%{release}.%|SOURCERPM?{%{arch}.rpm}:{%|ARCH?{src.rpm}:{pubkey}|}|\n%|FLINKNEVRA?{[\t=> %{FLINKNEVRA}.rpm\n]}|'
 \
        --POPTdesc=$"display package(s) which replaced"


# colon separated i18n domains to use as PO catalogue lookaside for
# retrieving header group/description/summary.
#
# For vendors, value should be "vendor-dist".
rpm alias --i18ndomains --define '_i18ndomains !#:+'

# Build policies enabled from command line. Last policy applies.
rpm alias --buildpolicy --define '__os_install_post %{_usrlibrpm}/brp-!#:+' \
	--POPTdesc=$"set buildroot <policy> (e.g. compress man pages)" \
	--POPTargs=$"<policy>"

# Short-hand option
rpm alias --force --replacepkgs --replacefiles --oldpackage \
	--POPTdesc=$"force operation (short hand for --replacepkgs --replacefiles --oldpackage on installation)"

# Choose db interface:
#	0	same as 1
#	1	native db1 interface (e.g. linux glibc libdb1 routines).
#	2	native db2 interface.
#	3	native db3 interface.
#	-1	db3 -> db2 -> db1 (as available).
#
# There are two macros so that --rebuilddb can convert db1 -> db3
rpm alias --dbapi		 --define '_dbapi !#:+'

rpm	alias --rebuilddbapi	 --define '_dbapi_rebuild !#:+'
rpm	alias --rebuilddbpath	 --define '_dbpath_rebuild !#:+'

#==============================================================================
#	[--dbpath DIRECTORY"	"use database in DIRECTORY"
rpm	alias --dbpath		--define '_dbpath !#:+'
#	[--ftpport <port>]	"port number of ftp server (or proxy)"
rpm	alias --ftpport		--define '_ftpport !#:+'
#	[--ftpproxy <host>]	"hostname or IP of ftp proxy"
rpm	alias --ftpproxy	--define '_ftpproxy !#:+'
#	[--httpport <port>]	"port number of http server (or proxy)"
rpm	alias --httpport	--define '_httpport !#:+'
#	[--httpproxy <host>]	"hostname or IP of http proxy"
rpm	alias --httpproxy	--define '_httpproxy !#:+'

# set the time check to <secs>
rpm	alias --timecheck	--define '_timecheck !#:+'

rpm	alias --with		--define "_with_!#:+       --with-!#:+" \
	--POPTdesc=$"enable configure <option> for build" \
	--POPTargs=$"<option>"
rpm	alias --without		--define "_without_!#:+    --without-!#:+" \
	--POPTdesc=$"disable configure <option> for build" \
	--POPTargs=$"<option>"
#==============================================================================
rpmb	alias --dbpath		--define '_dbpath !#:+' \
	--POPTdesc=$"use database in DIRECTORY" \
	--POPTargs=$"DIRECTORY"
rpmb	alias --ftpport		--define '_ftpport !#:+'
rpmb	alias --ftpproxy	--define '_ftpproxy !#:+'
rpmb	alias --httpport	--define '_httpport !#:+'
rpmb	alias --httpproxy	--define '_httpproxy !#:+'
rpmb	alias --timecheck	--define '_timecheck !#:+'
rpmb	alias --with		--define "_with_!#:+       --with-!#:+" \
	--POPTdesc=$"enable configure <option> for build" \
	--POPTargs=$"<option>"
rpmb	alias --without		--define "_without_!#:+    --without-!#:+" \
	--POPTdesc=$"disable configure <option> for build" \
	--POPTargs=$"<option>"
# (PLD-specific) Make RPM build tree
rpmb	exec --install-build-tree install-build-tree \
	--POPTdesc=$"make all needed dirs for building binary rpms"
# (PLD-specific) Compiling with debuginfo may be enabled by --debug
rpmb	alias --debug --define 'debug 1' \
	--POPTdesc=$"build packages with debug information"
# (PLD-specific) Conditional building
rpmb	exec  --bcond find-spec-bcond \
	--POPTdesc=$"find all --with/--without values"
#==============================================================================
rpmbuild	alias --dbpath		--define '_dbpath !#:+' \
	--POPTdesc=$"use database in DIRECTORY" \
	--POPTargs=$"DIRECTORY"
rpmbuild alias --ftpport		--define '_ftpport !#:+'
rpmbuild alias --ftpproxy	--define '_ftpproxy !#:+'
rpmbuild alias --httpport	--define '_httpport !#:+'
rpmbuild alias --httpproxy	--define '_httpproxy !#:+'
rpmbuild alias --timecheck	--define '_timecheck !#:+'
rpmbuild alias --with		--define "_with_!#:+     --with-!#:+" \
	--POPTdesc=$"enable configure <option> for build" \
	--POPTargs=$"<option>"
rpmbuild alias --without	--define "_without_!#:+  --without-!#:+" \
	--POPTdesc=$"disable configure <option> for build" \
	--POPTargs=$"<option>"
rpmbuild alias --buildroot	--define '.buildroot !#:+' \
	--POPTdesc=$"override build root" \
	--POPTargs=$"DIRECTORY"
# (PLD-specific) Make RPM build tree
rpmbuild exec --install-build-tree install-build-tree \
	--POPTdesc=$"make all needed dirs for building binary rpms"
# (PLD-specific) Compiling with debuginfo may be enabled by --debug
rpmbuild alias --debug --define 'debug 1' \
	--POPTdesc=$"build packages with debug information"
# (PLD-specific) Conditional building
rpmbuild exec  --bcond find-spec-bcond \
	--POPTdesc=$"find all --with/--without values"

# XXX unimplemented in rpm-4_5
#rpmbuild alias --lsb --noautoreq --noautoprov \
#	--define '_use_internal_dependency_generator 0' \
#	--notinlsb

rpm	alias --downgrade	--oldpackage \
	--POPTdesc=$"Allow an upgrade to replace a newer package with an older one."

rpm alias --what-provides --whatprovides \
	--POPTdesc=$"find package name that contains a provided capability"

rpm alias --what-requires --whatrequires \
	--POPTdesc=$"find package name that contains a required capability"

rpm alias --norepackage --define '_repackage_all_erasures 0' \
	--POPTdesc=$"Disable re-package of the files before erasing"

rpmbuild alias --disable-debuginfo --define '_enable_debug_packages 0' \
   --POPTdesc=$"Disable debuginfo package creation"

# 

Generated on Sun Nov 24 23:32:14 2013 for rpm by  doxygen 1.4.4