- limit numbjobs

- improve changing shebang
- drop _lto_cflags
epel8
Than Ngo 2 years ago
parent a1ede8a162
commit 9703a37608

@ -1,5 +1,3 @@
%define _lto_cflags %{nil}
# enable|disable system build flags # enable|disable system build flags
%global system_build_flags 0 %global system_build_flags 0
@ -9,9 +7,10 @@
%undefine _package_note_file %undefine _package_note_file
%endif %endif
%global numjobs 32 # set default numjobs for the koji build
%global numjobs 16
%ifarch aarch64 %ifarch aarch64
%global numjobs 32 %global numjobs 8
%endif %endif
# This flag is so I can build things very fast on a giant system. # This flag is so I can build things very fast on a giant system.
@ -1034,7 +1033,8 @@ udev.
# Change shebang in all relevant files in this directory and all subdirectories # Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works # See `man find` for how the `-exec command {} +` syntax works
find -type f -exec sed -iE '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} + find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} +
# Unpack fonts # Unpack fonts
pushd third_party/test_fonts pushd third_party/test_fonts

Loading…
Cancel
Save