/
usr
/
lib
/
rpm
/
/usr/lib/rpm
mkdir
upload
Name
Size
Mode
Actions
macros.d/
-
0755
rm
platform/
-
0755
rm
redhat/
-
0755
rm
brp-compress
1466
0755
edit
dl
rm
brp-java-gcjcompile
1401
0755
edit
dl
rm
brp-python-bytecompile
3031
0755
edit
dl
rm
brp-strip
487
0755
edit
dl
rm
brp-strip-comment-note
696
0755
edit
dl
rm
brp-strip-shared
684
0755
edit
dl
rm
brp-strip-static-archive
389
0755
edit
dl
rm
check-buildroot
1231
0755
edit
dl
rm
check-files
663
0755
edit
dl
rm
check-prereqs
418
0755
edit
dl
rm
check-rpaths
1039
0755
edit
dl
rm
check-rpaths-worker
5045
0755
edit
dl
rm
config.guess
44941
0755
edit
dl
rm
config.sub
34423
0755
edit
dl
rm
debugedit
30544
0755
edit
dl
rm
desktop-file.prov
437
0755
edit
dl
rm
find-debuginfo.sh
9358
0755
edit
dl
rm
find-lang.sh
5621
0755
edit
dl
rm
find-provides
1559
0755
edit
dl
rm
find-requires
3505
0755
edit
dl
rm
fontconfig.prov
489
0755
edit
dl
rm
javadeps
23400
0755
edit
dl
rm
libtooldeps.sh
707
0755
edit
dl
rm
macros
43450
0644
edit
dl
rm
macros.perl
596
0644
edit
dl
rm
macros.php
313
0644
edit
dl
rm
macros.python
906
0644
edit
dl
rm
mkinstalldirs
3495
0755
edit
dl
rm
mono-find-provides
1105
0755
edit
dl
rm
mono-find-requires
1914
0755
edit
dl
rm
ocaml-find-provides.sh
1880
0755
edit
dl
rm
ocaml-find-requires.sh
2354
0755
edit
dl
rm
osgideps.pl
10591
0755
edit
dl
rm
perl.prov
5776
0755
edit
dl
rm
perl.req
7973
0755
edit
dl
rm
perldeps.pl
32900
0644
edit
dl
rm
pkgconfigdeps.sh
1171
0755
edit
dl
rm
pythondeps.sh
875
0755
edit
dl
rm
rpm.daily
284
0644
edit
dl
rm
rpm.log
61
0644
edit
dl
rm
rpm.xinetd
319
0644
edit
dl
rm
rpm2cpio.sh
1255
0755
edit
dl
rm
rpmdb_archive
-
0
edit
dl
rm
rpmdb_deadlock
-
0
edit
dl
rm
rpmdb_dump
-
0
edit
dl
rm
rpmdb_load
-
0
edit
dl
rm
rpmdb_loadcvt
1467
0755
edit
dl
rm
rpmdb_printlog
-
0
edit
dl
rm
rpmdb_recover
-
0
edit
dl
rm
rpmdb_stat
-
0
edit
dl
rm
rpmdb_upgrade
-
0
edit
dl
rm
rpmdb_verify
-
0
edit
dl
rm
rpmdeps
8616
0755
edit
dl
rm
rpmdiff
23977
0755
edit
dl
rm
rpmdiff.cgi
15674
0644
edit
dl
rm
rpmpopt-4.8.0
7920
0644
edit
dl
rm
rpmrc
13698
0644
edit
dl
rm
tcl.req
2069
0755
edit
dl
rm
tgpg
907
0755
edit
dl
rm
Edit:
/usr/lib/rpm/rpmpopt-4.8.0
(7920B)
#/*! \page config_rpmpopt Default configuration: /usr/lib/rpm/rpmpopt-4.8.0 # \verbatim # # 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?{pretrans scriptlet\ %|PRETRANSPROG?{ (using %{PRETRANSPROG})}|:\n%{PRETRANS}\n}:\ {%|PRETRANSPROG?{pretrans 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?{posttrans scriptlet\ %|POSTTRANSPROG?{ (using %{POSTTRANSPROG})}|:\n%{POSTTRANS}\n}:\ {%|POSTTRANSPROG?{posttrans program: %{POSTTRANSPROG}\n}|}|\ \ %|VERIFYSCRIPT?{verify scriptlet:\n%{VERIFYSCRIPT}\n}|\ ' \ --POPTdesc=$"list install/erase scriptlets from package(s)" rpm alias --setperms -q --qf '[\[ -L %{FILENAMES:shescape} \] || chmod %7.7{FILEMODES:octal} %{FILENAMES:shescape}\n]' \ --pipe "grep -v \(none\) | grep '^. -L ' | sed 's/chmod .../chmod /' | sh" \ --POPTdesc=$"set permissions of files in a package" rpm alias --setugids -q --qf \ '[ch %{FILEUSERNAME:shescape} %{FILEGROUPNAME:shescape} %{FILENAMES:shescape}\n]' \ --pipe "(echo 'ch() { chown -h -- \"$1\" \"$3\";chgrp -h -- \"$2\" \"$3\"; }';grep '^ch '|grep -v \(none\))|sh" \ --POPTdesc=$"set user/group ownership of files in a package" rpm alias --conflicts --qf \ "[%|VERBOSE?{%{CONFLICTFLAGS:deptype}: }:{}|%{CONFLICTNAME} %{CONFLICTFLAGS:depflags} %{CONFLICTVERSION}\n]" \ --POPTdesc=$"list capabilities this package conflicts with" rpm alias --obsoletes --qf \ "[%|VERBOSE?{%{OBSOLETEFLAGS:deptype}: }:{}|%{OBSOLETENAME} %|OBSOLETEFLAGS?{%{OBSOLETEFLAGS:depflags} %{OBSOLETEVERSION}}:{}|\n]" \ --POPTdesc=$"list other packages removed by installing this package" rpm alias --provides --qf \ "[%|VERBOSE?{%{PROVIDEFLAGS:deptype}: }:{}|%{PROVIDENAME} %|PROVIDEFLAGS?{%{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}}:{}|\n]" \ --POPTdesc=$"list capabilities that this package provides" rpm alias --requires --qf \ "[%|VERBOSE?{%{REQUIREFLAGS:deptype}: }:{}|%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]" \ --POPTdesc=$"list capabilities required by package(s)" rpm alias -R --requires 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{INSTALLTIME:date}}:{(not installed) }| Build Host: %{BUILDHOST}\n\ Group : %-27{GROUP} Source RPM: %{SOURCERPM}\n\ Size : %-27{LONGSIZE}%|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 --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}| %{NVRA} %|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 --fscontext --qf '[%{FILENAMES}\n]' \ --pipe "xargs ls --scontext | awk '{printf(\"%s %s\n\", $2, $1)}'" \ --POPTdesc=$"list file names with security context from file system" 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 --filecaps --qf '[%{FILENAMES}\t%|FILECAPS?{%{FILECAPS}}|\n]' \ --POPTdesc=$"list file names with POSIX1.e capabilities" # colon separated i18n domains to use as PO catalogue lookaside for # retrieving header group/description/summary. rpm alias --i18ndomains --define '_i18ndomains !#:+' # 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 '_dbapath_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 '_httpport !#:+' # [--ftpproxy <host>] "hostname or IP of ftp proxy" rpm alias --ftpproxy --define '_httpproxy !#:+' # [--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 !#:+' #============================================================================== rpmbuild alias --dbpath --define '_dbpath !#:+' \ --POPTdesc=$"use database in DIRECTORY" \ --POPTargs=$"DIRECTORY" rpmbuild alias --ftpport --define '_httpport !#:+' rpmbuild alias --ftpproxy --define '_httpproxy !#:+' 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>" # Build policies enabled from command line. Last policy applies. rpmbuild alias --buildpolicy --define '__os_install_post %{_rpmconfigdir}/brp-!#:+' \ --POPTdesc=$"set buildroot <policy> (e.g. compress man pages)" \ --POPTargs=$"<policy>" # \endverbatim #*/
Save
cmd:
run