From e28c942c9932340cf4561a28b93bd871dc25b64d Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Sep 05 2019 11:44:23 +0000 Subject: Fix tuned profile in system-release-cpe and set aarch64 to server --- diff --git a/SPECS/centos-release.spec b/SPECS/centos-release.spec index 5917ec9..f1e6974 100644 --- a/SPECS/centos-release.spec +++ b/SPECS/centos-release.spec @@ -11,7 +11,7 @@ %define contentdir altarch %endif -%ifarch ppc ppc64 ppc64le +%ifarch aarch64 ppc ppc64 ppc64le %define tuned_profile :server %endif %ifarch ppc64le @@ -97,7 +97,7 @@ REDHAT_SUPPORT_PRODUCT_VERSION="%{base_release_version}" EOF # write cpe to /etc/system/release-cpe -echo "cpe:/o:centos:centos:%{base_release_version}" > %{buildroot}/etc/system-release-cpe +echo "cpe:/o:centos:centos:%{base_release_version}%{?tuned_profile}" > %{buildroot}/etc/system-release-cpe # create /etc/issue and /etc/issue.net echo '\S' > %{buildroot}/etc/issue