On Wed, 9 Oct 2019 at 00:47, <ke...@scrye.com> wrote:

> From: Kevin Fenzi <ke...@scrye.com>
>
> Since rhel dropped alt arch aarch64 with 7.7, we have to drop it in epel
> too.
>
> Signed-off-by: Kevin Fenzi <ke...@scrye.com>
> ---
>  roles/bodhi2/backend/files/new-updates-sync        | 4 ++--
>  roles/bodhi2/backend/templates/variants.rpm.xml.j2 | 4 +++-
>  2 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/roles/bodhi2/backend/files/new-updates-sync
> b/roles/bodhi2/backend/files/new-updates-sync
> index fde72e3..d08c893 100755
> --- a/roles/bodhi2/backend/files/new-updates-sync
> +++ b/roles/bodhi2/backend/files/new-updates-sync
> @@ -171,12 +171,12 @@ RELEASES = {'f31': {'topic': 'fedora',
>                        'modules': ['epel'],
>                        'repos': {'epel-testing': {
>                            'from': 'epel7-testing',
> -                          'to': [{'arches': ['x86_64', 'aarch64',
> 'ppc64le', 'source'],
> +                          'to': [{'arches': ['x86_64', 'ppc64le',
> 'source'],
>                                    'dest': os.path.join(EPELDEST,
> 'testing', '7')}
>                                  ]},
>                                  'epel': {
>                            'from': 'epel7',
> -                          'to': [{'arches': ['x86_64', 'aarch64',
> 'ppc64le', 'source'],
> +                          'to': [{'arches': ['x86_64', 'ppc64le',
> 'source'],
>                                    'dest': os.path.join(EPELDEST, '7')}
>                                  ]}}
>                       },
> diff --git a/roles/bodhi2/backend/templates/variants.rpm.xml.j2
> b/roles/bodhi2/backend/templates/variants.rpm.xml.j2
> index 062a63e..e848632 100644
> --- a/roles/bodhi2/backend/templates/variants.rpm.xml.j2
> +++ b/roles/bodhi2/backend/templates/variants.rpm.xml.j2
> @@ -10,8 +10,10 @@
>              [% if release.id_prefix == "FEDORA" %]
>                 <arch>armhfp</arch>
>             [% endif %]
> -           [% if release.version_int >= 26 or release.version_int >= 7 %]
> +           [% if release.version_int >= 26 or release.version_int >= 8 %]
>                 <arch>aarch64</arch>
> +           [% endif %]
> +           [% if release.version_int >= 26 or release.version_int >= 7 %]
>                 <arch>ppc64le</arch>
>             [% endif %]
>             <arch>s390x</arch>
> --
> 1.8.3.1
>

+1


> _______________________________________________
> infrastructure mailing list -- infrastructure@lists.fedoraproject.org
> To unsubscribe send an email to
> infrastructure-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
>
_______________________________________________
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org

Reply via email to