From edd380384ce2f15a42129c3654e79e5763c54336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Neal=20Gompa=20=28=E3=83=8B=E3=83=BC=E3=83=AB=E3=83=BB?= =?UTF-8?q?=E3=82=B3=E3=82=99=E3=83=B3=E3=83=8F=E3=82=9A=29?= Date: Fri, 21 Oct 2016 10:46:44 +0200 Subject: [PATCH] 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. --- rpmpopt.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpmpopt.in b/rpmpopt.in index 5a30fe836b..6d2cc7f98d 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"