From 0fd6f5ce454e55c6041751b6e6d84c0dc2b6c25d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 22 May 2019 19:35:46 +0000 Subject: [PATCH] bodhi / pungi: Adjust for ppc64. Only in epel6/7 and fedora 28 for rpms and only fedora 28 for modules. Signed-off-by: Kevin Fenzi --- roles/bodhi2/backend/templates/variants.module.xml.j2 | 4 +++- roles/bodhi2/backend/templates/variants.rpm.xml.j2 | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/bodhi2/backend/templates/variants.module.xml.j2 b/roles/bodhi2/backend/templates/variants.module.xml.j2 index 252f00f695..4f3d35e661 100644 --- a/roles/bodhi2/backend/templates/variants.module.xml.j2 +++ b/roles/bodhi2/backend/templates/variants.module.xml.j2 @@ -6,8 +6,10 @@ aarch64 armhfp i386 - ppc64 ppc64le +[% if release.version_int == 28 %] + ppc64 +[% endif %] s390x x86_64 diff --git a/roles/bodhi2/backend/templates/variants.rpm.xml.j2 b/roles/bodhi2/backend/templates/variants.rpm.xml.j2 index d36d31437d..1d38fd24c8 100644 --- a/roles/bodhi2/backend/templates/variants.rpm.xml.j2 +++ b/roles/bodhi2/backend/templates/variants.rpm.xml.j2 @@ -10,7 +10,7 @@ [% if release.version_int >= 25 %] armhfp [% endif %] - [% if release.version_int >= 26 or release.version_int <= 7 %] + [% if release.version_int == 28 or release.version_int <= 7 %] ppc64 [% endif %] [% if release.version_int >= 26 or release.version_int == 7 %]