Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable-2.9] rpmfilename must be constructed using rpmmacros #63025

Merged
merged 1 commit into from
Nov 12, 2019

Conversation

abadger
Copy link
Contributor

@abadger abadger commented Oct 1, 2019

Different subpackages have different names so, at the least, the %NAME
macros must be used when constructing the rpmfilename. Otherwise each
subsequent subpackage will overwrite the previous one.

This reinstates dag's fix from d4b6aec

Fixes #62673
(cherry picked from commit 30cc54d)

Backport of #63023

Co-authored-by: Toshio Kuratomi a.badger@gmail.com

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION

This fix shouldn't affect the ansible release. We use the mock-rpm target to make releases. We can therefore hold off on merging the backport until after 2.9.0 is out.

Different subpackages have different names so, at the least, the %NAME
macros must be used when constructing the rpmfilename.  Otherwise each
subsequent subpackage will overwrite the previous one.

This reinstates dag's fix from d4b6aec

Fixes ansible#62673
(cherry picked from commit 30cc54d)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
@ansibot ansibot added affects_2.9 This issue/PR affects Ansible v2.9 backport This PR does not target the devel branch. bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. needs_triage Needs a first human triage before being processed. small_patch support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Oct 1, 2019
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Oct 10, 2019
@mattclay mattclay added the backport_verified This PR has been verified as a backport of a merged devel PR. label Nov 6, 2019
@nitzmahone nitzmahone merged commit 9bd5d96 into ansible:stable-2.9 Nov 12, 2019
@abadger abadger deleted the backport-30cc54d-stable-2.9 branch November 12, 2019 20:56
@sivel sivel removed the needs_triage Needs a first human triage before being processed. label Nov 13, 2019
@ansible ansible locked and limited conversation to collaborators Dec 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.9 This issue/PR affects Ansible v2.9 backport_verified This PR has been verified as a backport of a merged devel PR. backport This PR does not target the devel branch. bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. small_patch stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants