[Rpm-maint] [PATCH] add support for scriptlet deps in generated deps
Thierry Vignaud
thierry.vignaud at gmail.com
Sat Sep 8 07:10:23 UTC 2018
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-support-for-scriptlet-deps-in-generated-deps.patch
Type: text/x-patch
Size: 3866 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180908/7f2d9ac3/attachment.bin>
More information about the Rpm-maint
mailing list