mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 10:32:54 +00:00
Disable python byte compiling to avoid dealing with that python2 tries to byte compile python3 code in rosa2019.05, conditional files in spec and other problems
This commit is contained in:
parent
a651473a58
commit
60b939028a
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,12 @@
|
|||
# we strip binaries manually in %%build
|
||||
%define __strip %(which true)
|
||||
|
||||
# brp-python-bytecompile uses /usr/bin/python,
|
||||
# but it is a different python version in different ROSA
|
||||
# releases; there is no good way to tell brp-python-bytecompile
|
||||
# which iterpreter to use; so just disable it to avoid problems
|
||||
%define _python_bytecompile_build 0
|
||||
|
||||
%define kernelversion 5
|
||||
%define patchlevel 4
|
||||
# sublevel is used for stable-based kernels
|
||||
|
|
Loading…
Add table
Reference in a new issue