Le mer. 17 juin 2020 à 14:12, Richard Shaw <hobbes1069(a)rpmfusion.org> a écrit :
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Wed Jun 17 07:11:28 2020 -0500
Add automated bundled provides script proided by Alex Jacocks.
Thanks for dealing with such change request.
That been said, I would recommend to ask the Fedora java SIG about how
this can be achieved automatically as part of the package brp
(buildroot policy) or any modern RPM method to automatically detect
Provides and Requires. (in this case only provides).
Unifi isn't an exception WRT to bundling components and there is no
much value to:
- build the package once to compute the provide list.
- commit the result to git.
- then build the package for real.
Instead, it should be possible to automatically generate the provides
when building the package once. (you can insert a script within
__os_install_post RPM macro or else)...
Hopefully it helps.