Xpra: Ticket #1258: move to python2 package naming

The Python 2.x packages for Fedora are now called python2-XXX instead of just python-XXX as before.

Doing this will prevent update conflicts. It should just be a matter of renaming the package and adding Obsoletes and Provides to the spec file. This should be backwards compatible for centos 6.x We can reference the new package names in the main xpra spec file. Maybe this is a good time to merge the pyopengl and accelerate package to match fedora packaging.

Somewhat related to #1253.

See:



Sat, 16 Jul 2016 21:17:56 GMT - Antoine Martin: status changed

Done for rencode in r13031, will use this for testing.


Sun, 17 Jul 2016 16:42:57 GMT - Antoine Martin: description changed

Done in r13032 for:

Still todo: pyopengl merge.


Mon, 18 Jul 2016 11:59:48 GMT - Antoine Martin: owner, status changed

Onto pyopengl: the Fedora PyOpenGL renamed to python-pyopengl) includes both PyOpenGL and PyOpenGL_accelerate in a single RPM but without conflicting with the PyOpenGL-accelerate packages we had already published, causing all sorts of problems including distro version upgrades failing, and that's bad!

Fixing this pyopengl packaging mess (done in r13033 + r13034) was hard because I don't want to have to maintain multiple versions of the spec file and the rpm version in centos6 is severely limited compared to the one in Fedora. The whole point of our pyopengl package on Fedora is only to add the Obsoletes: PyOpenGL-accelerate... nothing else. PITA. Eventually we could drop it altogether, but there doesn't seem to by an new pyopengl release on the horizon, so this could take a while.

r13035 fixes the same problem with python-lz4: Fedora decided to package it as python2-lz4 but without an Obsoletes: python-lz4 clause, and so we can't depend on this new name because this would bring the Fedora package, which then conflicts with the already installed xpra repository provided package python-lz4.. So we'll have to push the updated package first. PITA.

r13038 also updates the xpra spec file to use the new "python2" package names where applicable.


Thu, 28 Jul 2016 08:23:05 GMT - Antoine Martin:

FWIW: a clean Fedora 24 install worked fine as of r13105 (missing conf file) + r13104 (remove rpmfusion dependency). r13110 makes sure that we override the Fedora version because 4>r2-1, obviously!


Mon, 01 Aug 2016 09:27:12 GMT - Antoine Martin:

Needed a few more tweaks (and a few attempts) for centos6: r13145 + r13146 + r13147 + r13148.

Now we can update from the beta repo and get:

=============================================================================================================================
 Package                       Arch               Version                                   Repository                  Size
=============================================================================================================================
Installing:
 python-pyopengl               x86_64             3.1.1a1-4.1xpra2.el6_8                    winswitch-beta             2.4 M
     replacing  PyOpenGL.noarch 3.1.1a1r1-1.el6_8
     replacing  PyOpenGL-accelerate.x86_64 3.1.1a1r1-1.el6_8
 python2-lz4                   x86_64             0.8.2-2.el6_8                             winswitch-beta             9.2 k
     replacing  python-lz4.x86_64 0.8.2-1.el6_8
 python2-netifaces             x86_64             0.10.4-6.el6_8                            winswitch-beta              16 k
     replacing  python-netifaces.x86_64 0.5-1.el6
 python2-pillow                x86_64             3.3.0-2.el6_8                             winswitch-beta             579 k
     replacing  python-pillow.x86_64 3.2.0-2.el6_8
Updating:
 libvpx-xpra                   x86_64             1.6.0-1.el6_8                             winswitch-beta             697 k
 xpra                          x86_64             1.0-0.20160728r13114.el6_8                winswitch-beta             2.8 M
 xpra-common                   noarch             1.0-0.20160728r13114.el6_8                winswitch-beta             557 k

Fri, 05 Aug 2016 14:48:19 GMT - Antoine Martin:

Fedora 23 fixes: r13228, r13229.


Thu, 27 Oct 2016 21:28:22 GMT - Smo: status changed; resolution set

No issues reported


Thu, 24 Nov 2016 07:32:27 GMT - Antoine Martin:

Added Cython in r14483, needed by Fedora 25.


Wed, 04 Jul 2018 06:24:55 GMT - Antoine Martin:

See Python RPM Porting Guide : New Python package naming scheme.

This caused some problems: #1897


Sat, 23 Jan 2021 05:19:21 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1258