[Openstack-devel] Debian GNU/Linux and Ubuntu packages diff for openstackx

Loic Dachary loic at enovance.com
Sun Jul 8 08:05:13 UTC 2012


Hi,

Here is a detailed analysis of the differences between the Debian GNU/Linux and Ubuntu package for openstackx, based on the attached file. I'm cc'ing Chuck as he may be willing to comment.

Diff against
https://launchpad.net/ubuntu/+archive/primary/+files/openstackx_0.2%2Bgit20120120-0ubuntu1.dsc
to latest GIT.

debian/control
 - Different build dependencies.
   Ubuntu: python-all (>= 2.6.6-3~), python-setuptools  (>= 0.6b3),
           python-nose, python-mock
   Debian: python, python-setuptools
 - Different binary package name.
   Ubuntu: openstackx
   Debian: python-openstackx
 - Different package description
 - Debian has ${shlibs:Depends} in dependency line.

debian/copyright
 - Debian has corrected source. It should not contain <...>, just ...
 - Very different license text.

debian/patches
 - Debian has this one debian/patches/clean_setup.py, ubuntu does not.

debian/rules
 - Quite different build, install and clean. The detailed patch must
   be studied to understand the difference. It is hard to summarize it.
   The difference most likely has to do with the Debian patch, where
   ubuntu has a solution in the rules file instead.

The package currently in Debian refers to non existent python modules:

openstackx$ python 
Python 2.7.2+ (default, Nov 30 2011, 19:22:03) 
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import extensions.admin
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "extensions/admin.py", line 42, in <module>
    import nova.api.openstack.v2 as openstack_api
ImportError: No module named v2
>>> 

Cheers
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: openstackx-ubuntu-debian-2012-07-08.diff
Type: text/x-diff
Size: 11956 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20120708/4efa2c13/attachment.diff>


More information about the Openstack-devel mailing list