summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>2016-10-21 10:46:44 +0200
committerFlorian Festi <ffesti@redhat.com>2016-10-21 11:19:47 +0200
commitedd380384ce2f15a42129c3654e79e5763c54336 (patch)
tree490c5bed31024add93f355cf83d825eaf15c5056
parent40326b5724b0cd55a21b2d86eeef344e4826f863 (diff)
downloadrpm-edd380384ce2f15a42129c3654e79e5763c54336.tar.gz
Add --changes to read changelog with full timestamps
As of 57f94a582602f0353cdb17a02dc12c4461d4f32d, 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.
-rw-r--r--rpmpopt.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmpopt.in b/rpmpopt.in
index 5a30fe836..6d2cc7f98 100644
--- a/rpmpopt.in
+++ b/rpmpopt.in
@@ -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"