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

Miscellaneous RPM packaging improvements #297

Merged
merged 3 commits into from
Mar 15, 2023

Conversation

gotmax23
Copy link
Contributor

This is a follow up to the changes made in #294. It was split out from #296.

The wheel is not needed here and building it wastes time.
Calling %{pypi_source} without arguments is deprecated.
Runtime deps are always generated. Install the deps from the `testing`
extra when the test bcond is enabled.

This moves the %generate_buildrequires definition to after the %prep
definition. %generate_buildrequires is always run after %prep, so this
makes the specfile chronological.
Copy link
Collaborator

@TomasTomecek TomasTomecek left a comment

Choose a reason for hiding this comment

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

Perfect, thank you so much!! merging

@TomasTomecek TomasTomecek merged commit 4c65a09 into ansible-community:master Mar 15, 2023
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