LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   What flag do I use with RPM to show the changes/patches included in an RPM? (https://www.linuxquestions.org/questions/linux-server-73/what-flag-do-i-use-with-rpm-to-show-the-changes-patches-included-in-an-rpm-774342/)

abefroman 12-08-2009 06:59 PM

What flag do I use with RPM to show the changes/patches included in an RPM?
 
For instance I have:
openssh-4.3p2-36.el5_4.2

But I know that is 4.4.x.

rpm -? openssh

TIA

chrism01 12-09-2009 12:44 AM

Try here to start, also www.rpm.org http://kbase.redhat.com/faq/docs/DOC-9302

knudfl 12-09-2009 08:16 AM

# yum install openssh

.. provides : openssh-4.3p2-36.el5_4.2
.. from the updates repo.

Explanation : the system version ' 4.3p2 ' has probably
got some security fixes, borrowed from version 4.x or 5.x .
The package is not a patch ...
Release version, CentOS 5.2 = openssh-4.3p2-26.el5 .
.....

I don't think you can get rpm to show you an edit in
a source file.
To know the full story : The source code package =
http://mirror.centos.org/centos/5.4/...l5_4.2.src.rpm
> > openssh-4.3p2-36.el5_4.2.src.rpm .
The changes are in the 'changelog' .. see openssh.spec ,
if not included elsewhere.
' rpm2cpio <(SRC)_RPM> | cpio -idmv ' can unpack rpm's.
' lesspipe.sh openssh-4.3p2-36.el5_4.2.src.rpm ' for info.
.....


All times are GMT -5. The time now is 03:20 PM.