Skip to content

Update mock configs#586

Open
ekohl wants to merge 2 commits intotheforeman:rpm/3.21from
ekohl:rpm/3.21-update-mock
Open

Update mock configs#586
ekohl wants to merge 2 commits intotheforeman:rpm/3.21from
ekohl:rpm/3.21-update-mock

Conversation

@ekohl
Copy link
Copy Markdown
Member

@ekohl ekohl commented Sep 28, 2022

This uses the mock configs from the host to reduce duplication. It also uses modularity in EL8 rather than using a flattened layout.

Additionally an EL9 mock config is created.

Besides the cherry pick of c70b84a this also updates the configs to point to 3.21.

This uses the mock configs from the host to reduce duplication. It also
uses modularity in EL8 rather than using a flattened layout.

Additionally an EL9 mock config is created.

(cherry picked from commit c70b84a)
@ekohl ekohl mentioned this pull request Sep 28, 2022
mock/el8.cfg Outdated
baseurl=http://koji.katello.org/kojifiles/releases/split/yum/koji-modules/koji/staged/x86_64/RHEL-8-001-mod/python38:3.8/
module_hotfixes=1
config_opts['root'] = 'pulpcore-el8-x86_64'
config_opts['chroot_setup_cmd'] += " python38-rpm-macros"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
config_opts['chroot_setup_cmd'] += " python38-rpm-macros"
config_opts['chroot_setup_cmd'] += " python39-rpm-macros"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied it from 3.18. Was 3.18 still Python 3.8 or was that already 3.9?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doh - looks like 3.18 was 3.9

mock/el7.cfg Outdated
@@ -0,0 +1,15 @@
include('centos-7-x86_64.cfg')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be dropped for 3.21 as only EL8 and EL9 are build targets.

@ekohl ekohl force-pushed the rpm/3.21-update-mock branch from 420f977 to be7023a Compare September 28, 2022 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants