diff options
author | biao716.wang <biao716.wang@samsung.com> | 2021-01-05 14:51:28 +0900 |
---|---|---|
committer | biao716.wang <biao716.wang@samsung.com> | 2021-01-05 14:51:28 +0900 |
commit | 9de33a8a7cd9eae05c3c1df4b2c0e1e4cd2bd40a (patch) | |
tree | 03067d36d530c3eeb623e601b0c12a98f744376d /rpmpopt.in | |
parent | 287097d4d8079b4485870c08cf5675b0bdd37ed9 (diff) | |
download | rpm-9de33a8a7cd9eae05c3c1df4b2c0e1e4cd2bd40a.tar.gz rpm-9de33a8a7cd9eae05c3c1df4b2c0e1e4cd2bd40a.tar.bz2 rpm-9de33a8a7cd9eae05c3c1df4b2c0e1e4cd2bd40a.zip |
upgrade rpm version to 4.14.1upstream/4.14.1.1submit/tizen_base/20210113.025730submit/tizen_base/20210105.160930accepted/tizen/base/tool/20210118.215949
Change-Id: Iab5438d6e4d45c937b191c03e9ef5dd3fad165c8
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Diffstat (limited to 'rpmpopt.in')
-rw-r--r-- | rpmpopt.in | 70 |
1 files changed, 41 insertions, 29 deletions
diff --git a/rpmpopt.in b/rpmpopt.in index 92656e270..f8ce35f22 100644 --- a/rpmpopt.in +++ b/rpmpopt.in @@ -61,27 +61,25 @@ rpm alias --obsoletes --qf \ rpm alias --provides --qf \ "[%|VERBOSE?{%{PROVIDEFLAGS:deptype}: }:{}|%{PROVIDENEVRS}\n]" \ --POPTdesc=$"list capabilities that this package provides" +rpm alias -P --provides rpm alias --requires --qf \ "[%|VERBOSE?{%{REQUIREFLAGS:deptype}: }:{}|%{REQUIRENEVRS}\n]" \ --POPTdesc=$"list capabilities required by package(s)" rpm alias -R --requires -rpm alias --suggests --qf \ - "[%|SUGGESTSFLAGS:depflag_strong?{}:{%{SUGGESTSNAME} %{SUGGESTSFLAGS:depflags} %{SUGGESTSVERSION}\n}|]" \ - --POPTdesc=$"list capabilities this package suggests" - -rpm alias --recommends --qf \ - "[%|SUGGESTSFLAGS:depflag_strong?{%{SUGGESTSNAME} %{SUGGESTSFLAGS:depflags} %{SUGGESTSVERSION}\n}|]" \ - --POPTdesc=$"list capabilities this package recommends" - -rpm alias --enhances --qf \ - "[%|ENHANCESFLAGS:depflag_strong?{}:{%{ENHANCESNAME} %{ENHANCESFLAGS:depflags} %{ENHANCESVERSION}\n}|]" \ - --POPTdesc=$"list capabilities this package enhances" - -rpm alias --supplements --qf \ - "[%|ENHANCESFLAGS:depflag_strong?{%{ENHANCESNAME} %{ENHANCESFLAGS:depflags} %{ENHANCESVERSION}\n}|]" \ - --POPTdesc=$"list capabilities this package supplements" +rpm alias --recommends --qf \ + "[%|VERBOSE?{%{RECOMMENDFLAGS:deptype}: }:{}|%{RECOMMENDNEVRS}\n]" \ + --POPTdesc=$"list capabilities recommended by package(s)" +rpm alias --suggests --qf \ + "[%|VERBOSE?{%{SUGGESTFLAGS:deptype}: }:{}|%{SUGGESTNEVRS}\n]" \ + --POPTdesc=$"list capabilities suggested by package(s)" +rpm alias --supplements --qf \ + "[%|VERBOSE?{%{SUPPLEMENTFLAGS:deptype}: }:{}|%{SUPPLEMENTNEVRS}\n]" \ + --POPTdesc=$"list capabilities supplemented by package(s)" +rpm alias --enhances --qf \ + "[%|VERBOSE?{%{ENHANCEFLAGS:deptype}: }:{}|%{ENHANCENEVRS}\n]" \ + --POPTdesc=$"list capabilities enhanced by package(s)" rpm alias --info --qf '\ Name : %{NAME}\n\ @@ -101,16 +99,17 @@ Relocations : %|PREFIXES?{[%{PREFIXES} ]}:{(not relocatable)}|\n\ %|PACKAGER?{Packager : %{PACKAGER}\n}|\ %|VENDOR?{Vendor : %{VENDOR}\n}|\ %|URL?{URL : %{URL}\n}|\ -%|VCS?{VCS : %{VCS}\n}|\ %|BUGURL?{Bug URL : %{BUGURL}\n}|\ Summary : %{SUMMARY}\n\ -Description :\n%{DESCRIPTION}\n\ -Distribution: %{DISTRIBUTION}\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 --changes --qf '[* %{CHANGELOGTIME:date} %{CHANGELOGNAME}\n%{CHANGELOGTEXT}\n\n]' \ + --POPTdesc=$"list changes for this package with full time stamps" + rpm alias --xml --qf '[%{*:xml}\n]' \ --POPTdesc=$"list metadata in xml" @@ -120,8 +119,16 @@ rpm alias --triggerscripts --qf '\ rpm alias --triggers --triggerscripts \ --POPTdesc=$"list trigger scriptlets from package(s)" +rpm alias --filetriggerscripts --qf '\ +[filetrigger%{FILETRIGGERTYPE} scriptlet (using %{FILETRIGGERSCRIPTPROG}) -- \ +%{FILETRIGGERCONDS}\n%{FILETRIGGERSCRIPTS}\n]\ +[transfiletrigger%{TRANSFILETRIGGERTYPE} scriptlet (using %{TRANSFILETRIGGERSCRIPTPROG}) -- \ +%{TRANSFILETRIGGERCONDS}\n%{TRANSFILETRIGGERSCRIPTS}\n]' +rpm alias --filetriggers --filetriggerscripts \ + --POPTdesc=$"list filetrigger 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))}' " \ + --pipe "LC_NUMERIC=C 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" \ @@ -131,28 +138,26 @@ 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" + --POPTdesc=$"list file names with their 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" + --POPTdesc=$"list file names with their colors" rpm alias --fileprovide --qf '[%{FILENAMES}\t%{FILEPROVIDE}\n]' \ - --POPTdesc=$"list file names with provides" + --POPTdesc=$"list file names with their 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" + --POPTdesc=$"list file names with their POSIX1.e capabilities" # colon separated i18n domains to use as PO catalogue lookaside for # retrieving header group/description/summary. rpm alias --i18ndomains --define '_i18ndomains !#:+' +rpm alias --color --define '_color_output !#:+' + #============================================================================== # [--ftpport <port>] "port number of ftp server (or proxy)" rpm alias --ftpport --define '_httpport !#:+' @@ -162,11 +167,14 @@ rpm alias --ftpproxy --define '_httpproxy !#:+' rpm alias --httpport --define '_httpport !#:+' # [--httpproxy <host>] "hostname or IP of http proxy" rpm alias --httpproxy --define '_httpproxy !#:+' +# [--trace] "trace macro expansion" +rpm alias --trace --eval '%trace' # Minimally preserve commonly used switches from cli split-up rpm exec --addsign rpmsign --addsign rpm exec --delsign rpmsign --delsign rpm exec --resign rpmsign --resign +#rpm exec --signfiles rpmsign --signfiles rpm exec --checksig rpmkeys --checksig rpm exec -K rpmkeys --checksig rpm exec --import rpmkeys --import @@ -192,8 +200,10 @@ rpmbuild alias --buildpolicy --define '__os_install_post %{_rpmconfigdir}/brp-!# --POPTargs=$"<policy>" # Minimally preserve rpmbuild's --sign functionality rpmbuild alias --sign \ - --pipe "grep '.*: .*\.rpm$'|cut -d: -f2|xargs -r rpm --addsign" \ - --POPTdesc=$"generate GPG signature" + --pipe 'rpm --addsign `grep ".*: .*\.rpm$"|cut -d: -f2` < "/dev/"`ps -p $$ -o tty | tail -n 1`' \ + --POPTdesc=$"generate GPG signature (deprecated, use command rpmsign instead)" +# [--trace] "trace macro expansion" +rpmbuild alias --trace --eval '%trace' rpmsign alias --key-id --define '_gpg_name !#:+' \ --POPTdesc=$"key id/name to sign with" \ @@ -218,5 +228,7 @@ rpmspec alias --buildconflicts --srpm --conflicts \ --POPTdesc=$"list capabilities conflicting with build of this package" rpmspec alias --buildrequires --srpm --requires \ --POPTdesc=$"list capabilities required to build this package" +# [--trace] "trace macro expansion" +rpmspec alias --trace --eval '%trace' # \endverbatim #*/ |