Skip to content

python3-selinux: remove direct_url.json and its RECORD entry

The reprotest failure in !9 is because the python3-selinux_3.5-3+salsaci+20240215+7_amd64.deb binary package has build variance. That's due to a single file, direct_url.json:

diff -r foo/usr/lib/python3/dist-packages/selinux-3.5.dist-info/direct_url.json bar/usr/lib/python3/dist-packages/selinux-3.5.dist-info/direct_url.json
1c1
< {"dir_info": {}, "url": "file:///tmp/reprotest.I4dEGV/build-experiment-1/build-experiment-1/src"}
\ No newline at end of file
---
> {"dir_info": {}, "url": "file:///tmp/reprotest.I4dEGV/const_build_path/const_build_path/src"}
\ No newline at end of file

The dh-python build tool chose to omit that file from package builds a while ago. I think we should do the same here.

The change proposed here is broadly modeled on the resolution of #982529.

Closes #1064894.

Edited by James Addison

Merge request reports

Loading