On 11/28/20 8:38 PM, Jakub Bogusz wrote:
On Sat, Nov 28, 2020 at 08:24:55PM +0200, Elan Ruusamäe wrote:
On 11/27/20 10:17 PM, qboosh wrote:
-Requires: python(abi) = %{py_ver}
+Requires: python(abi) = %{py3_ver}
shouldn't this be namespace to python3 name?
Requires: python3(abi) = %{py3_ver}
No, to be consistent with current python3 package:
$ rpm -qP python3-libs | grep abi
python(abi) = 3.8
Multiple versions can be installed, so it's not necessary to use another
namespace. At least for rpm5, not verified with rpm.org yet.
all python3 eggs are namespaced under python3. and it makes sense, as
package may require python2 and python3 at the same time.
i don't think "abi" should be any more special than the python eggs
$ rpm -qp --provides python3-git-2.1.11-3.noarch.rpm
python3egg(gitpython) = 2.1.11
python3-git = 2.1.11-3
$ rpm -qp --provides python-git-2.1.11-3.noarch.rpm
pythonegg(gitpython) = 2.1.11
python-git = 2.1.11-3
I'm sure reusing same namespace for different purpose will cause
problems on upgrading.
perhaps upgrading python3 could obsolete python2 as python(abi) got upgraded
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en