On 17 February 2011 09:41, James Hogarth <james.hoga...@gmail.com> wrote:
>>
>> Hello James,
>>
>> rhnpush requires spacewalk-backend-libs, that define spacewalk.common
>>
>> $ grep Requires client/tools/rhnpush/* | grep backend
>> client/tools/rhnpush/rhnpush.spec:Requires:      spacewalk-backend-libs >=
>> 0.8.3
>>
>> With what rhnpush version do you have the problem?
>>
>>

Okay done some more digging through the problem...

spacewalk-backend-libs provides the following files:

[root@hudsonslave05 ~]# rpm -ql spacewalk-backend-libs
/usr/lib/python2.4/site-packages/spacewalk/__init__.py
/usr/lib/python2.4/site-packages/spacewalk/__init__.pyc
/usr/lib/python2.4/site-packages/spacewalk/__init__.pyo
/usr/lib/python2.4/site-packages/spacewalk/common
/usr/lib/python2.4/site-packages/spacewalk/common/checksum.py
/usr/lib/python2.4/site-packages/spacewalk/common/checksum.pyc
/usr/lib/python2.4/site-packages/spacewalk/common/checksum.pyo
/usr/lib/python2.4/site-packages/spacewalk/common/fileutils.py
/usr/lib/python2.4/site-packages/spacewalk/common/fileutils.pyc
/usr/lib/python2.4/site-packages/spacewalk/common/fileutils.pyo
/usr/lib/python2.4/site-packages/spacewalk/common/rhn_deb.py
/usr/lib/python2.4/site-packages/spacewalk/common/rhn_deb.pyc
/usr/lib/python2.4/site-packages/spacewalk/common/rhn_deb.pyo
/usr/lib/python2.4/site-packages/spacewalk/common/rhn_mpm.py
/usr/lib/python2.4/site-packages/spacewalk/common/rhn_mpm.pyc
/usr/lib/python2.4/site-packages/spacewalk/common/rhn_mpm.pyo
/usr/lib/python2.4/site-packages/spacewalk/common/rhn_rpm.py
/usr/lib/python2.4/site-packages/spacewalk/common/rhn_rpm.pyc
/usr/lib/python2.4/site-packages/spacewalk/common/rhn_rpm.pyo
/usr/share/doc/spacewalk-backend-libs-1.3.57
/usr/share/doc/spacewalk-backend-libs-1.3.57/LICENSE
/usr/share/doc/spacewalk-backend-libs-1.3.57/PYTHON-LICENSES.txt


However for rhnpush to work the following files are also required
in/usr/lib/python2.4/site-packages/spacewalk/common/ - and these exist
in spacewalk-backend not spacewalk-backnend-libs:

__init__.py
__init__.pyc
__init__.pyo
UserDictCase.py
UserDictCase.pyc
UserDictCase.pyo
RPC_Base.py
RPC_Base.pyc
RPC_Base.pyo
rhnException.py
rhnException.pyc
rhnException.pyo
rhnTranslate.py
rhnTranslate.pyc
rhnTranslate.pyo
rhnFlags.py
rhnFlags.pyc
rhnFlags.pyo
rhnTB.py
rhnTB.pyc
rhnTB.pyo
rhnConfig.py
rhnConfig.pyc
rhnConfig.pyo
rhnLog.py
rhnLog.pyc
rhnLog.pyo
rhnMail.py
rhnMail.pyc
rhnMail.pyo

I imagine this will have an impact on any other tools that try to
import spacewalk.common as well but only have spacewalk-backend-libs
as a dependency....

James

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to