@ -1,41 +1,44 @@
%define dist_list almalinux centos eurolinux oraclelinux rocky
%define conflict_dists() %(for i in almalinux centos eurolinux oraclelinux rocky; do if [ "${i}" != "%{dist_name}" ]; then echo -n "leapp-data-${i} "; fi; done)
%define dist_list almalinux centos eurolinux msvsphere oraclelinux rocky
%define conflict_dists() %(for i in almalinux centos eurolinux msvsphere oraclelinux rocky; do if [ "${i}" != "%{dist_name}" ]; then echo -n "leapp-data-${i} "; fi; done)
%if 0%{?rhel} == 7
%if %{dist_name} == "almalinux"
%if " %{dist_name}" == "almalinux"
%define gpg_key RPM-GPG-KEY-AlmaLinux-8
%endif
%if %{dist_name} == "centos"
%if " %{dist_name}" == "centos"
%define gpg_key RPM-GPG-KEY-CentOS-Official
%endif
%if %{dist_name} == "eurolinux"
%if " %{dist_name}" == "eurolinux"
%define gpg_key RPM-GPG-KEY-eurolinux8
%endif
%if %{dist_name} == "oraclelinux"
%if "%{dist_name}" == "msvsphere"
%define gpg_key RPM-GPG-KEY-MSVSphere-8
%endif
%if "%{dist_name}" == "oraclelinux"
%define gpg_key RPM-GPG-KEY-oracle-ol8
%endif
%if %{dist_name} == "rocky"
%if " %{dist_name}" == "rocky"
%define gpg_key RPM-GPG-KEY-Rocky-8
%endif
%endif
%if 0%{?rhel} == 8
%if %{dist_name} == "almalinux"
%if " %{dist_name}" == "almalinux"
%define gpg_key RPM-GPG-KEY-AlmaLinux-9
%endif
%if %{dist_name} == "centos"
%if " %{dist_name}" == "centos"
%define gpg_key RPM-GPG-KEY-CentOS-Official
%endif
%if %{dist_name} == "eurolinux"
%if " %{dist_name}" == "eurolinux"
%define gpg_key RPM-GPG-KEY-eurolinux9
%endif
%if %{dist_name} == "msvsphere"
%if " %{dist_name}" == "msvsphere"
%define gpg_key RPM-GPG-KEY-MSVSphere-9
%endif
%if %{dist_name} == "oraclelinux"
%if " %{dist_name}" == "oraclelinux"
%define gpg_key RPM-GPG-KEY-oracle-ol9
%endif
%if %{dist_name} == "rocky"
%if " %{dist_name}" == "rocky"
%define gpg_key RPM-GPG-KEY-Rocky-9
%endif
%endif