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

Igor Gnatenko ignatenkobrain at fedoraproject.org
Wed Sep 12 08:34:24 UTC 2018


What is the point of this? I just don't get the use-case..

On Wed, Sep 12, 2018 at 10:32 AM Thierry Vignaud <thierry.vignaud at gmail.com>
wrote:

> 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?
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-maint
>
-- 

-Igor Gnatenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180912/cb9fe4a9/attachment.html>


More information about the Rpm-maint mailing list