Bug 1260432 - Python libs should be in a separate sub-package
Summary: Python libs should be in a separate sub-package
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: avahi
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 189399 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-06 19:49 UTC by Florent Le Coz
Modified: 2015-09-17 17:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-17 16:06:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to apply on avahi.spec (1.51 KB, patch)
2015-09-06 19:49 UTC, Florent Le Coz
no flags Details | Diff

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. ***


Note You need to log in before you can comment on or make changes to this bug.