Scenario 1: Checking change log of installed rpm
Syntax:
# rpm -q --changelog [rpm name]
Example:
# rpm -q --changelog rsync-3.0.9-17.el7.x86_64 - Resolves: #1032637 - rsync unit tests cannot be compiled - switch to hardened build * Tue Jan 28 2014 Pavel Šimerda- 3.0.9-14 - Resolves: #1052814 - rsync command is terminated with SIGSEGV - Resolves: #1052814 - add missing patch file [Output truncated]
Scenario 2: Checking change log of rpms without installing (using rpm file)
Syntax:
# rpm -qp --changelog [path to rpm file]
Example:
# rpm -qp --changelog rsync-3.0.6-12.el6.x86_64.rpm * Fri Mar 28 2014 Pavel Šimerda- 3.0.6-12 - Resolves: #1011219 - Typo in manpage * Wed Mar 26 2014 Pavel Šimerda - 3.0.6-11 - Resolves: #981797 - rsync -X is ineffective when setting owner/group [Output truncated]