Bug 753905

Summary: avahi-ui-tools package needs splitting
Product: Red Hat Enterprise Linux 6 Reporter: Brian J. Murrell <brian>
Component: avahiAssignee: Michal Sekletar <msekleta>
Status: CLOSED ERRATA QA Contact: Jakub Prokes <jprokes>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0CC: jprokes, mhlavink, psklenar
Target Milestone: rcKeywords: FastFix
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: avahi-0.6.25-17.el6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 753916 (view as bug list) Environment:
Last Closed: 2017-03-21 11:56:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1356056    

Description Brian J. Murrell 2011-11-14 20:18:06 UTC
Description of problem:

The avahi-ui-tools contains both binary and library.

Version-Release number of selected component (if applicable):

0.6.25-8.el6

How reproducible:

100%

Steps to Reproduce:
1. N/A
2.
3.
  
Actual results:

I should be able to get the python avahi bindings in /usr/lib/python2.6/site-packages/avahi without having to pull gtk and it's dependencies in.  i.e. this is bad/wrong:

Installing:
 avahi-ui-tools                  x86_64              0.6.25-8.el6                                   /avahi-ui-tools-0.6.25-8.el6.x86_64               73 k
Installing for dependencies:
 atk                             x86_64              1.28.0-2.el6                                   base                                             191 k
 avahi                           x86_64              0.6.25-8.el6                                   base                                             216 k
 avahi-glib                      x86_64              0.6.25-8.el6                                   base                                              19 k
 avahi-libs                      x86_64              0.6.25-8.el6                                   base                                              53 k
 avahi-ui                        x86_64              0.6.25-8.el6                                   base                                              31 k
 cairo                           x86_64              1.8.8-3.1.el6                                  base                                             309 k
 cups-libs                       x86_64              1:1.4.2-35.el6_0.1                             updates                                          313 k
 fontconfig                      x86_64              2.8.0-3.el6                                    base                                             186 k
 freetype                        x86_64              2.3.11-6.el6_0.2                               updates                                          359 k
 gtk2                            x86_64              2.18.9-4.el6                                   base                                             3.3 M
 hicolor-icon-theme              noarch              0.11-1.1.el6                                   base                                              40 k
 jasper-libs                     x86_64              1.900.1-15.el6                                 base                                             137 k
 libICE                          x86_64              1.0.6-1.el6                                    base                                              53 k
 libSM                           x86_64              1.1.0-7.1.el6                                  base                                              26 k
 libXcomposite                   x86_64              0.4.1-2.el6                                    base                                              17 k
 libXcursor                      x86_64              1.1.10-2.el6                                   base                                              32 k
 libXdamage                      x86_64              1.1.2-1.el6                                    base                                              16 k
 libXext                         x86_64              1.1-3.el6                                      base                                              33 k
 libXfixes                       x86_64              4.0.4-1.el6                                    base                                              19 k
 libXft                          x86_64              2.1.13-4.1.el6                                 base                                              49 k
 libXi                           x86_64              1.3-3.el6                                      base                                              32 k
 libXinerama                     x86_64              1.1-1.el6                                      base                                              15 k
 libXrandr                       x86_64              1.3.0-4.el6                                    base                                              30 k
 libXrender                      x86_64              0.9.5-1.el6                                    base                                              27 k
 libdaemon                       x86_64              0.14-1.el6                                     base                                              28 k
 libglade2                       x86_64              2.6.4-3.1.el6                                  base                                              60 k
 libjpeg                         x86_64              6b-46.el6                                      base                                             134 k
 libpng                          x86_64              2:1.2.44-1.el6                                 base                                             180 k
 libthai                         x86_64              0.1.12-3.el6                                   base                                             183 k
 libtiff                         x86_64              3.9.4-1.el6_0.3                                updates                                          342 k
 pango                           x86_64              1.28.1-3.el6_0.5                               updates                                          351 k
 pixman                          x86_64              0.18.4-1.el6_0.1                               updates                                          146 k
 pycairo                         x86_64              1.8.6-2.1.el6                                  base                                             172 k
 pygobject2                      x86_64              2.20.0-5.el6                                   base                                             172 k
 pygtk2                          x86_64              2.16.0-3.el6                                   base                                             986 k
 pygtk2-libglade                 x86_64              2.16.0-3.el6                                   base                                              22 k
 tigervnc                        x86_64              1.0.90-0.10.20100115svn3945.el6                base                                             245 k
 xml-common                      noarch              0.6.3-32.el6                                   base                                             9.5 k

when all I want is the contents of /usr/lib/python2.6/site-packages/avahi.

Expected results:

Similar to Debian/Ubuntu's python-avahi package:  
$ dpkg -L python-avahi
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python-avahi
/usr/share/doc/python-avahi/README
/usr/share/doc/python-avahi/copyright
/usr/share/doc/python-avahi/examples
/usr/share/doc/python-avahi/examples/avahi-bookmarks.gz
/usr/share/doc/python-avahi/NEWS.gz
/usr/share/doc/python-avahi/changelog.Debian.gz
/usr/share/pyshared
/usr/share/pyshared/avahi
/usr/share/pyshared/avahi/__init__.py
/usr/share/pyshared/avahi/ServiceTypeDatabase.py
/usr/share/python-support
/usr/share/python-support/python-avahi.public

which avahi-ui-tools should then depend on.

Additional info:

Comment 2 RHEL Program Management 2011-11-14 20:38:50 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Michal Sekletar 2015-10-14 08:53:00 UTC
Yep, this makes sense. Same thing was done in Fedora while ago. Should be easy to backport.

Comment 11 errata-xmlrpc 2017-03-21 11:56:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0793.html