[winswitch] Packaging mistake for Fedora

Antoine Martin antoine at nagafix.co.uk
Thu Aug 21 14:33:23 BST 2014


Hi,

(snip)
You're absolutely right, it is our mistake.
> The officially-provided package provides the netifaces python module
> in the usual PYTHONLIB directory. Your package does the same, so both
> packages (xpra's netifaces and fedora's python-netifaces) cannot be
> installed at the same time. Thus, packages expecting the
> officially-named module cannot be installed on a Fedora machine along
> xpra.
Ouch!
> If your xpra/winswitch really need the netifaces module at a higher
> version,
We don't. Just a personal preference.
(the one in Fedora is woefully out of date and won't even build on some
of the platforms we cater for)
>  I would recommend first to comment in fedora's bugzilla [2]
> so that an updated netifaces specfile gets used (so that it gets built
> upstream by koji and every official package is updated and
> dependency-tested against).
We're not having much luck so far with bugzilla / Fedora packaging!
https://bugzilla.redhat.com/show_bug.cgi?id=928609
> If that's not an option, and you would prefer all of us to have the
> updated netifaces version, at least you can package it naming it after
> the guidelines, and thus, if other packages from other repos may
> require that python module (if they don't request a specific version)
> can be installed along xpra.
That's the preferred option.
> This is not a theoretic problem, the calibre package Requires:
> python-netifaces. And I happen to use it, so I noticed :)
Really sorry about that. :(
> For anyone experiencing this problem, my current solution was to
> download from xpra's sources the netifaces.spec file, and change:
(snip)
I've tried to follow what you said:
http://xpra.org/trac/changeset/7389/xpra

The buildbot has just spit out some new "python-netifaces" packages:
http://xpra.org/beta/
And new beta CentOS and Fedora xpra packages with the updated dependency.
(the beta channel is in pretty good state right now because I haven't
had time to break anything yet)

Does that work for you?
If so, I'll push out those changes to the repository with xpra 0.14.2
tomorrow.

Thanks
Antoine

> Thanks for the efforts anyway;
> I hope this is useful,
> Santiago.
>
> [1]: https://fedoraproject.org/wiki/Packaging:Python
> [2]: https://bugzilla.redhat.com/show_bug.cgi?id=856388
> [3]: https://pypi.python.org/packages/source/n/netifaces/netifaces-0.10.4.tar.gz#md5=36da76e2cfadd24cc7510c2c0012eb1e
> [4]: https://apps.fedoraproject.org/packages/python-netifaces/sources/spec
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users




More information about the shifter-users mailing list