Bug 13377

Summary: libgtk+2-common requires python
Product: Sisyphus Reporter: at <at>
Component: libgtk+2-commonAssignee: at <at>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: damir, evg, evyscr, ktirf, lav, msp, oddity, shaba, shrek
Version: unstable   
Hardware: all   
OS: Linux   

Description at@altlinux.org 2007-11-09 23:39:55 MSK
$ rpm -qpR libgtk+2-common-2.12.1-alt1.i586.rpm |grep python
python-base
python2.4(getopt)
python2.4(os)
python2.4(xml)
$

You are doing something DEADLY WRONG.

$ hsh --without-stuff --init
$ hsh-install libgtk+2
Preparing packages for installation...
ca-certificates-2007.02.06-alt1
libX11-locales-1.1.3-alt6
xml-common-0.6.3-alt11
libxml2-2.6.30-alt2
shared-mime-info-0.22-alt1
crontab-control-1.1-alt1
setproctitle-0.3.1-alt1
vixie-cron-4.1.20060426-alt3
crontabs-1.8-alt1
libXau-1.0.3-alt1
libXdmcp-1.0.2-alt1.0
libxcb-1.1-alt1
libX11-1.1.3-alt6
libXfixes-4.0.3-alt1
libatk-1.20.0-alt2
libXrender-0.9.4-alt1
libdirectfb_0.9.25-0.9.25.1-alt2
libexpat-2.0.1-alt0.1
libfreetype-2.3.5-alt2
fontconfig-2.4.2-alt3
Updating fonts cache: [ DONE ]
libpng12-1.2.13-alt3
libcairo-1.4.10-alt1
libssl6-0.9.8d-alt4
libjpeg-6b-alt8
libtiff-3.8.2-alt1
libcups-1.3.3-alt4
libXft-2.1.12-alt2
libpango-1.18.2-alt1
libXcomposite-0.4.0-alt1
libXcursor-1.1.9-alt1
libXdamage-1.1.1-alt1
libXext-1.0.3-alt1
libXi-1.1.3-alt1
libXinerama-1.0.2-alt1
libXrandr-1.2.2-alt1
libgdbm-1.8.3-alt4
python-modules-email-2.4.4-alt13
python-modules-compiler-2.4.4-alt13
python-modules-logging-2.4.4-alt13
python-modules-2.4.4-alt13
python-modules-xml-2.4.4-alt13
libgtk+2-common-2.12.1-alt1
libgtk+2-2.12.1-alt1
$ 

I'll shoot you.
Comment 1 at@altlinux.org 2007-11-09 23:42:15 MSK
The bug has been assigned to me...
Er, I'll shoot him.
Comment 2 Alexey Rusakov 2007-11-10 14:19:28 MSK
Wow :)
Frankly, I don't see why libgtk+2-common requires python. This definitely
shouldn't happen. Python modules are not mentioned in the spec, so I think
there's something wrong with automatic requires on Python modules.
Comment 3 avm 2008-01-19 22:19:02 MSK
В пакете libgtk+2-common есть файл gtk-builder-convert, который импортирует
getopt. Так что поиск зависимостей совершенно прав.
ktirf: кажется, надо переложить этот (совершенно разработческий) скрипт в
devel-пакет.
Comment 4 Alexey Rusakov 2008-03-12 03:36:55 MSK
Переложил, встречайте libgtk+2-2.12.8-alt2.