Re: Appending a file in %{_sysconfdir}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-08-18 at 09:22 -0500, Rex Dieter wrote:
> 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)

If you want to do it programatically - rhpl.simpleconfig.SimpleConfig is
what we basically use in to set these up.

Paul

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux