python-rpm-generators/python.attr
shixuantong 4817f8fc81 downgrade version to 9
(cherry picked from commit 2f58820e751848187ade2aa4dc03ba9afc2d0de1)
2022-01-20 15:32:46 +08:00

5 lines
310 B
Plaintext

%__python_provides %{_rpmconfigdir}/pythondeps.sh --provides
%__python_requires %{_rpmconfigdir}/pythondeps.sh --requires
%__python_path ^((/usr/lib(64)?/python[[:digit:]]\\.[[:digit:]]+/.*\\.(py[oc]?|so))|(^%{_bindir}/python[[:digit:]]\\.[[:digit:]]+))$
%__python_magic [Pp]ython.*(executable|byte-compiled)