Andrey Borzenkov wrote:
> Is there standard way to generate configuration file during installation so 
> that it still belongs to RPM?

You could have the package own a placeholder file that's overwritten in %post.  Of 
course, rpm -V packagename will turn up something about that file, but it's up to you 
whether that's OK.

If the reason you want the package to own the file is you want to make sure the file 
gets removed when the RPM is uninstalled, an alternative would be to have %postun (or 
%preun) remove the file.

Reply via email to