[Rpm-maint] How to create RPM with volatile files

Kamil Dudka kdudka at redhat.com
Mon Sep 23 12:41:09 UTC 2013


On Wednesday 18 September 2013 07:08:30 prashant tyagi wrote:
> Hi All,
> 
> How can package a volatile file ( content may change ) inside an rpm.
> 
> I have tried with %config and %doc directives but could not add the
> volatile file inside a rpm.
> A volatile file is a file whose content can be changed and rpm --verify
> should not complain about such files.
> 
> Please let me know which is directive should use to mention that particular
> file is a volatile file.

Are you looking for %ghost or %verify directives?

http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html#S3-RPM-INSIDE-FLIST-GHOST-DIRECTIVE

Kamil


More information about the Rpm-maint mailing list