-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmacros.python-scl
More file actions
15 lines (12 loc) · 853 Bytes
/
macros.python-scl
File metadata and controls
15 lines (12 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# these macros won't be needed if doing non-scl build, so define them in a way that won't overwrite system ones
%@scl@_os_install_post \
/usr/lib/rpm/brp-scl-compress %{_scl_root} \
%{!?__debug_package:/usr/lib/rpm/redhat/brp-strip %{__strip} \
/usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \
} \
/usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \
%{!?_turn_off_bytecompile:scl enable @vendorscl@ '/usr/lib/rpm/redhat/brp-python-bytecompile-with-scl-python-310 %@scl@__python3 %{?_python_bytecompile_errors_terminate_build}'} \
/usr/lib/rpm/redhat/brp-python-hardlink
%@scl@_python_provides /usr/lib/rpm/pythondeps-scl-310.sh --provides %{?scl:@vendorscl@-}
%@scl@_python_requires /usr/lib/rpm/pythondeps-scl-310.sh --requires %{?scl:@vendorscl@-}
%_python_bytecompile_errors_terminate_build 1