Appending a file in %{_sysconfdir}

Rex Dieter rdieter at math.unl.edu
Fri Aug 18 14:22:23 UTC 2006


PFJ wrote:

> I'm packaging sdldotnet for inclusion into extras and have hit a small
> snag. I need to amend %{_sysconfdir}/mono/config to include some bits
> required for sdldotnet.
> 
> How do I append said file inside of a spec file? Should I just create a
> new version, add the bits, diff and apply or is there a better way?

This seems something to be done in a scriplet in %post (and to undo the mods
in %postun)

-- Rex




More information about the fedora-extras-list mailing list