[Rpm-maint] [PATCH] add support for scriptlet deps in generated deps

Thierry Vignaud thierry.vignaud at gmail.com
Wed Sep 12 08:31:55 UTC 2018


Le sam. 8 sept. 2018 à 09:10, Thierry Vignaud
<thierry.vignaud at gmail.com> a écrit :
>
> Hi
>
> The attached patch adds support for scriptlet deps in generated deps.
> Eg on Mageia, there's a file trigger for automatically
> installing/removing info pages from /usr/share/info index
>
> Having manual or auto generated "Requires: ..." mean some strong
> deploops in base packages which rpmlib can break at random places,
> sometimes borking scriptlets.
>
> What we want in such a case is "Requires(posttrans): ..;" as
> filetriggers will be run late anyway.
>
> This patch enables to do that (but only in internal deps generators)
>
> Example:
> %__info_requires        %{_rpmconfigdir}/mageia/info-file.req
> %__info_scriptlet       posttrans
> %__info_path    ^%{_datadir}/info/.*\\.info.*$
>
> See you

Can you consider this one for inclusion?


More information about the Rpm-maint mailing list