%vortex_bundle                  %{!?_vortex_bundle:2024-07}
%vortex_pkg                     vortex-%{vortex_bundle}
%vortex_prefix                  /vortex/%{vortex_bundle}
%vortex_host_target             %{_host_cpu}-%{_host_vendor}-%{_host_os}
%vortex_host_prefix             %{vortex_prefix}/%{vortex_host_target}
%vortex_python3                 %{vortex_host_prefix}/bin/python3


# Bootstrap RPM with custom python
#
# /usr/lib/rpm/brp-python-hardlink is provided by redhat-rpm-config later
# _enable_debug_packages will be set to 0 in redhat-rpm-config later

%vortex_bootstrap \
%global   __brp_python_hardlink             %{nil} \
%global   _duplicate_files_terminate_build  0 \
%undefine _enable_debug_packages \
%{nil}

# Vortex spec header

%vortex_header \
%global _prefix                 %{vortex_host_prefix} \
%global __python3               %{vortex_python3} \
%global _build_id_links         none \
%{nil}
