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.
This commit is contained in:
parent
9d214678c4
commit
c88849770b
3 changed files with 14 additions and 1 deletions
|
|
@ -28,4 +28,4 @@
|
|||
end
|
||||
}
|
||||
|
||||
%__python_path ^((%{?!flatpak:/usr}%{?flatpak:/app}/lib(64)?/python[[:digit:]]+\\.[[:digit:]]+/.*\\.(py[oc]?|so))|(%{_bindir}/python[[:digit:]]+\\.[[:digit:]]+))$
|
||||
%__python_path ^((%{?!flatpak:/usr}%{?flatpak:/app}/lib(64)?/python[[:digit:]]+\\.[[:digit:]]+/.+)|(%{_bindir}/python[[:digit:]]+\\.[[:digit:]]+))$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue