Skip to content

Commit

Permalink
Add --changes to read changelog with full timestamps
Browse files Browse the repository at this point in the history
As of 57f94a5, it's now possible
to have proper changelogs with dates and times properly set.
Thus, it makes sense to offer an option to render this information.
  • Loading branch information
Conan-Kudo authored and ffesti committed Oct 21, 2016
1 parent 40326b5 commit edd3803
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpmpopt.in
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ Description :\n%{DESCRIPTION}\n' \
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"

Expand Down

0 comments on commit edd3803

Please sign in to comment.