-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmacros.additional.rh-python310
More file actions
executable file
·23 lines (23 loc) · 1.1 KB
/
macros.additional.rh-python310
File metadata and controls
executable file
·23 lines (23 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# override __os_install_post for this collection
# the @scl@* macros are defined in macros.python3.python310 in python310-python-devel
# the name is intentionally hardcoded to always provide the same name
%scl_package_override() %{expand:%{?@scl@_os_install_post:%global __os_install_post %@scl@_os_install_post}
%global __python_requires %@scl@_python_requires
%global __python_provides %@scl@_python_provides
# macros commonly used in specfiles
%global __python3 %@scl@__python3
%global __python %@scl@__python3
%global python3_sitelib %@scl@python3_sitelib
%global python3_sitearch %@scl@python3_sitearch
%global python3_version %@scl@python3_version
%global python3_version_nodots %@scl@python3_version_nodots
%global python3_platform %@scl@python3_platform
%global py3dir %@scl@py3dir
%global py3_build %@scl@py3_build
%global py3_build_egg %@scl@py3_build_egg
%global py3_build_wheel %@scl@py3_build_wheel
%global py3_install %@scl@py3_install
%global py3_install_egg %@scl@py3_install_egg
%global py3_install_wheel() %%{expand:%{@scl@py3_install_wheel_start}%%{1}%{@scl@py3_install_wheel_end}}
%global scl_no_vendor @scl@
}