Red Hat Bugzilla – Bug 1260432
Python libs should be in a separate sub-package
Last modified: 2015-09-17 13:08:49 EDT
Created attachment 1070779 [details]
Patch to apply on avahi.spec
At the moment, the python files are installed by the avahi-ui-tools package, which is quite huge and has some heavy dependencies (tigervnc to name most “invasive” one).
However, some programs only need the few python files, not the whole avahi-ui-tools (the gajim package for example depends on avahi-ui-tools, which makes it install tigervnc, which is completely unrelated and unnecessary for gajim to work).
So, attached is a patch for avahi.spec that separates the python files into a subpackage named python-avahi. After this change, other packages like gajim could replace their dependency to only need python-avahi (and not avahi-ui-tools).
(I made the avahi-ui-tools subpackage depend on python-avahi, this way existing packages that depend on avahi-ui-tools just to get the python will not be broken.)
Feel free to use the given patch, or to make this change in some other way.
* Sun Jun 21 2015 Bastien Nocera <firstname.lastname@example.org> 0.6.31-36
- Split off Python bindings, add Python3 support
*** Bug 189399 has been marked as a duplicate of this bug. ***