<p dir="ltr">An idea, untested,  is to write a toy script for etckeeper that fire after the yum plugin. I suppose you are using yum of course.</p>
<p dir="ltr">Best regards</p>
<div class="gmail_quote">Il 12/mar/2014 15:07 "Dragos Diaconescu" <<a href="mailto:diaconescud@gmail.com">diaconescud@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I would need to to save the md5sum for all of the files that exists into a rpm. I would need<br></div>to store these md5sums for each file into a separate file, automatically after<br>

the rpm was installed.<br><br></div>Is there any way to do this in the rpm build SPEC file, in the %post section?<br><br></div>I would need something different than  the command "rpm -qp --dump <rpm file>".<br>

</div>I would need these md5sums to be stored automatically after the rpm was installed.<br><br></div><div>Thank you for your help.<br></div><div><br></div>With kind regards,<br>Dragos<br></div>
<br>_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
<br></blockquote></div>