diff options
author | Kalev Lember <klember@redhat.com> | 2021-01-28 14:26:06 +0100 |
---|---|---|
committer | Kalev Lember <klember@redhat.com> | 2021-01-28 14:26:06 +0100 |
commit | 00f050ca50ed263883650e2f5819556bec57e678 (patch) | |
tree | 92214954cfa475c6218e66509522ccd8f3983a42 /mozilla-1687931.patch | |
parent | Add dbus-glib requires (diff) | |
download | librewolf-fedora-ff-00f050ca50ed263883650e2f5819556bec57e678.tar.gz librewolf-fedora-ff-00f050ca50ed263883650e2f5819556bec57e678.tar.bz2 librewolf-fedora-ff-00f050ca50ed263883650e2f5819556bec57e678.zip |
Make provides/requires filtering smarter/automatic
The issue with the previous approach was that _everything_ that
firefox's shared libraries required was filtered out. This included e.g.
libxul.so's dependency on libdbus-glib-1.so.2 which definitely should
not be filtered out.
Instead, a better approach is to only filter out all of the private
libraries provides (as they are firefox's implementation detail) and
also all the internal requires on the same private libraries.
RPM doesn't make it very easy, but the rudimentary filtering is there
and we can build upon that. This commit improves the filtering by making
it actually look at what's built, and automatically generating the list
of private libraries to filter based on that.
This also lets us drop manual dbus-glib requires and instead rely on
rpm's automatic dep generator (the results are no longer filtered out).
This should make the filtering future proof when more private libraries
are added in the future (e.g. nss).
https://bugzilla.redhat.com/show_bug.cgi?id=1582116
Diffstat (limited to 'mozilla-1687931.patch')
0 files changed, 0 insertions, 0 deletions