Miro Hrončok
c88849770b
Generate python(abi) Requires for any files in pythonX.Y directory
...
It does not matter if the package installs .py, .so or different files.
Packages that simply drop a .pth file to site-packages or even only carry dist-info folder
still need to Require the package that owns /usr/lib(64)/pythonX.Y.
2026-08-15 10:49:05 +00:00
Miro Hrončok
c3f90ed2e8
Fix reversed grep exit codes in integration tests
...
grep -v only fails if there are no unmatched lines, but that's not what we want to test.
2020-05-04 13:45:57 +02:00
Miro Hrončok
8eef42cbaa
Use dynamic %_prefix value when matching files for python(abi) provides
...
See https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.org/thread/UFKUM5UKCTNGIT3KJVYEI5VXPI23QMBN/
Flatpak builds redefine %_prefix and the dependencies should remain present.
Also get rid of one useless ^ and prep the pattern for two digit Python major versions.
Add a test that tests that we match our default %_prefix (was the case even before this commit).
2020-04-07 16:25:11 +02:00
Miro Hrončok
eae8dd0f57
Add CI tests for python(abi) provides
2020-04-03 14:35:16 +02:00