[Rpm-ecosystem] Best practices for replacing directories

Neal Gompa ngompa13 at gmail.com
Thu Feb 21 19:47:53 UTC 2019


On Thu, Feb 21, 2019 at 2:46 PM Jason L Tibbitts III <tibbs at math.uh.edu> wrote:
>
> In the Fedora packaging guidelines we have the following section on
> replacing a directory with a non-directory, and replacing a symlink with
> a directory:
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/#_scriptlet_to_replace_a_directory
>
> Recently we received a ticket asking us to revise this slightly:
> https://pagure.io/packaging-committee/issue/859
>
> The suggested revision to the lua code is minor and I suppose makes
> sense, but I'm reluctant to touch anything at all here because the issue
> is subtle.  Furthermore, RPM could potentially change how it deals with
> these cases; for all I know it may even do "the right thing" internally
> now.
>
> Does the Fedora guideline match the current guidance from RPM upstream
> as to how to deal with these situations?
>

Unfortunately, it still does. I don't know if the RPM developers have
a plan to make that obsolete, but it'd be nice if it could go away...

-- 
真実はいつも一つ!/ Always, there's only one truth!


More information about the Rpm-ecosystem mailing list