<div dir="ltr">Hello,<div><div>sorry if this question is more for rpm devs...<br><div>I know that in a spec file the definition</div><div><br></div><div>%confg ......./file_name1</div></div></div><div>will cause update of an edited file_name1, saving the on disk one into .rpmsave before overwriting</div>
<div><br></div><div>while</div><div><div>%confg(noreplace) ......./file_name2</div><div>will retain the edited file_name2 on disk and save the provided new config file into .rpmnew</div></div><div><br></div><div>The question is:</div>
<div>can I see if a config file was defined in its spec with or without (noreplace) if I have not the spec file and the .src.rpm file, but I have only the final binary rpm?</div><div><br></div><div>I made some tests but I didn&#39;t find any difference</div>
<div>Tried queries with &quot;-c&quot; option, with &quot;-V&quot; option and  with &quot;--dump&quot; option.</div><div>Both either with &quot;-f package.rpm&quot; and directly against rpm db but no information extracted.</div>
<div>But I think this information should be in any way in the rpm itself...</div><div><br></div><div>Thanks in advance<br></div><div><br></div><div>Gianluca </div><div><br></div><div><br></div></div>