Bug 1260432

Summary: Python libs should be in a separate sub-package
Product: [Fedora] Fedora Reporter: Florent Le Coz <louiz>
Component: avahiAssignee: Lennart Poettering <lpoetter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dcbw, lpoetter, msekleta, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-17 16:06:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to apply on avahi.spec none

Description Florent Le Coz 2015-09-06 19:49:30 UTC
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.

Thanks.

Comment 1 Rex Dieter 2015-09-17 16:06:02 UTC
* Sun Jun 21 2015 Bastien Nocera <bnocera> 0.6.31-36
- Split off Python bindings, add Python3 support

Comment 2 Florent Le Coz 2015-09-17 17:08:49 UTC
*** Bug 189399 has been marked as a duplicate of this bug. ***