Skip to content

Commit

Permalink
rpmspec: Add some more popt aliases
Browse files Browse the repository at this point in the history
These are all available on the rpm CLI so let's make them available
on the rpmspec CLI as well.
  • Loading branch information
DaanDeMeyer committed Aug 3, 2023
1 parent 2043f2a commit 65b96dc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rpmpopt.in
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,18 @@ rpmspec alias --provides --qf \
rpmspec alias --requires --qf \
"[%|VERBOSE?{%{REQUIREFLAGS:deptype}: }:{}|%{REQUIRENEVRS}\n]" \
--POPTdesc=$"list capabilities required by package(s)"
rpmspec alias --recommends --qf \
"[%|VERBOSE?{%{RECOMMENDFLAGS:deptype}: }:{}|%{RECOMMENDNEVRS}\n]" \
--POPTdesc=$"list capabilities recommended by package(s)"
rpmspec alias --suggests --qf \
"[%|VERBOSE?{%{SUGGESTFLAGS:deptype}: }:{}|%{SUGGESTNEVRS}\n]" \
--POPTdesc=$"list capabilities suggested by package(s)"
rpmspec alias --supplements --qf \
"[%|VERBOSE?{%{SUPPLEMENTFLAGS:deptype}: }:{}|%{SUPPLEMENTNEVRS}\n]" \
--POPTdesc=$"list capabilities supplemented by package(s)"
rpmspec alias --enhances --qf \
"[%|VERBOSE?{%{ENHANCEFLAGS:deptype}: }:{}|%{ENHANCENEVRS}\n]" \
--POPTdesc=$"list capabilities enhanced by package(s)"
rpmspec alias --buildconflicts --srpm --conflicts \
--POPTdesc=$"list capabilities conflicting with build of this package"
rpmspec alias --buildrequires --srpm --requires \
Expand Down

0 comments on commit 65b96dc

Please sign in to comment.