Overview

Request 1093388 superseded

- Don't declare python3-clang as noarch: Python packages are
installed into %{_libdir}.

Loading...

Aaron Puchert's avatar

Please consider staging in adi:11 to resolve the installcheck issue there.


Dominique Leuenberger's avatar

puthon_sitelib is not libdir - it is not at h dependent. Only python_sitearch is


Aaron Puchert's avatar

Maybe there is a packaging mistake here:

> rpm -q --provides python3-clang16
/usr/lib64/python3.10/site-packages/clang/
...
> rpm -ql python3-clang16
/usr/lib/python3.10/site-packages/clang
/usr/lib/python3.10/site-packages/clang/__init__.py
/usr/lib/python3.10/site-packages/clang/cindex.py
/usr/lib/python3.10/site-packages/clang/enumerations.py
...

whereas

> rpm -q --provides python3-lldb16
/usr/lib64/python3.10/site-packages/lldb/
...
> rpm -ql python3-lldb16
/usr/lib64/python3.10/site-packages/lldb
/usr/lib64/python3.10/site-packages/lldb/__init__.py
/usr/lib64/python3.10/site-packages/lldb/_lldb.cpython-310-x86_64-linux-gnu.so
...

Seems like the Clang bindings, unlike the LLDB bindings, don't end up in %python_sitearch but in %python_sitelib, because they don't have a link to an arch-dependent library. So the Conflicts/Provides pair is actually wrong and should use %python_sitelib, right?

Request History
Aaron Puchert's avatar

aaronpuchert created request

- Don't declare python3-clang as noarch: Python packages are
installed into %{_libdir}.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:59"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:59"


openSUSE Build Service is sponsored by