[Rpm-maint] [rpm-software-management/rpm] RFE: Automatic (sub)package generators (#329)

nim-nim notifications at github.com
Sun May 10 11:39:18 UTC 2020


And, you absolutely need the pivot and subvariables set spec-wide, in the preamble or some early section, because a lot of the domain info will be used in several spec sections, not just in %files, %build, %whatever.

For example Free Desktop people invented the idiotic appstream descriptor for font files, which is so ass backwards even Gnome’s own Bistream Vera or Cantarell ship it.

So one of the fonts subvariables if %{fontappstreamX}. If set, will use the packager-specified appstream files (a couple font projects were sucked into writing those before everyone noticed it was a waste of time). If not set font package automation will compute those in `%install` from the files actually installed at that point, and use the result in `%files` (would be cleaner to do it as `%build` `%install` `%files` but at `%build` stage you do not know yet which files will be installed and need appstreaming)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/329#issuecomment-626314630
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200510/a525d874/attachment.html>


More information about the Rpm-maint mailing list