On Fri, Feb 9, 2018 at 10:33 AM, Rex Dieter <rdieter@xxxxxxxxxxxx> wrote: > I'm exploring possibilities on how to track usage of a particular library > symbol via rpm dependencies. > > In particular, whenever a package is built that includes a dependency on > library symbol: > libQt5Core.so.5(Qt_5_PRIVATE_API) > > I'd like to inject additional dependencies, something like: > Requires: qt5-qtbase = %{_qt5_version} > > I've been told debian does a variant of this, but I've not been able to come > up with any good way to do that here. Any ideas or suggestions? > > > (I know this would be handled automatically if the Qt_5_PRIVATE_API symbol > was versioned, but that's an option we'd rather avoid if reasonably > possible) You can write a dependency generator that would call a script that executes rpmdeps the same way as the real generator does. If it's detected, you can have it emit that dependency back as a Requires. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx