Update spec

devel
Arkady L. Shane 10 months ago
parent 095f6668c0
commit 64f5331427
Signed by untrusted user: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1,41 +1,44 @@
%define dist_list almalinux centos eurolinux oraclelinux rocky %define dist_list almalinux centos eurolinux msvsphere 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 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 0%{?rhel} == 7
%if %{dist_name} == "almalinux" %if "%{dist_name}" == "almalinux"
%define gpg_key RPM-GPG-KEY-AlmaLinux-8 %define gpg_key RPM-GPG-KEY-AlmaLinux-8
%endif %endif
%if %{dist_name} == "centos" %if "%{dist_name}" == "centos"
%define gpg_key RPM-GPG-KEY-CentOS-Official %define gpg_key RPM-GPG-KEY-CentOS-Official
%endif %endif
%if %{dist_name} == "eurolinux" %if "%{dist_name}" == "eurolinux"
%define gpg_key RPM-GPG-KEY-eurolinux8 %define gpg_key RPM-GPG-KEY-eurolinux8
%endif %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 %define gpg_key RPM-GPG-KEY-oracle-ol8
%endif %endif
%if %{dist_name} == "rocky" %if "%{dist_name}" == "rocky"
%define gpg_key RPM-GPG-KEY-Rocky-8 %define gpg_key RPM-GPG-KEY-Rocky-8
%endif %endif
%endif %endif
%if 0%{?rhel} == 8 %if 0%{?rhel} == 8
%if %{dist_name} == "almalinux" %if "%{dist_name}" == "almalinux"
%define gpg_key RPM-GPG-KEY-AlmaLinux-9 %define gpg_key RPM-GPG-KEY-AlmaLinux-9
%endif %endif
%if %{dist_name} == "centos" %if "%{dist_name}" == "centos"
%define gpg_key RPM-GPG-KEY-CentOS-Official %define gpg_key RPM-GPG-KEY-CentOS-Official
%endif %endif
%if %{dist_name} == "eurolinux" %if "%{dist_name}" == "eurolinux"
%define gpg_key RPM-GPG-KEY-eurolinux9 %define gpg_key RPM-GPG-KEY-eurolinux9
%endif %endif
%if %{dist_name} == "msvsphere" %if "%{dist_name}" == "msvsphere"
%define gpg_key RPM-GPG-KEY-MSVSphere-9 %define gpg_key RPM-GPG-KEY-MSVSphere-9
%endif %endif
%if %{dist_name} == "oraclelinux" %if "%{dist_name}" == "oraclelinux"
%define gpg_key RPM-GPG-KEY-oracle-ol9 %define gpg_key RPM-GPG-KEY-oracle-ol9
%endif %endif
%if %{dist_name} == "rocky" %if "%{dist_name}" == "rocky"
%define gpg_key RPM-GPG-KEY-Rocky-9 %define gpg_key RPM-GPG-KEY-Rocky-9
%endif %endif
%endif %endif

Loading…
Cancel
Save