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

Don't run build-prep by default for create-srpm #160

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

aajith-arista
Copy link
Collaborator

Deprecated the "--skip-build-prep" option, making it a no-op, and build-prep is now skipped by default. The option "--do-build-prep" has been added for users wanting previous behavior. We cannot remove --skip-check option altogether because there're packages which make use of this flag via eextgen.

The motivation is that users have been stumped by %prep failures because of missing dependencies in the their environment. It's not obvious that --skip-build-prep will workaround the problem.

@aajith-arista aajith-arista force-pushed the aajith-no-buildprep branch 2 times, most recently from 54bbb71 to 1513962 Compare January 15, 2025 10:50
Copy link
Contributor

@mkisielewski-arista mkisielewski-arista left a comment

Choose a reason for hiding this comment

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

Looks great. Added inline below two leading space removals.

I wonder how difficult it would be to write tests for checking both logic branches of this...

Deprecated the "--skip-build-prep" option, making it a no-op, and
build-prep is now skipped by default. The option "--do-build-prep" has
been added for users wanting previous behavior. We cannot remove
the option altogether because there're packages which make use
of this flag via eextgen.

The motivation is that users have been stumped by %prep failures because
of missing dependencies in the their environment. It's not obvious that
--skip-build-prep will workaround the problem.
@aajith-arista aajith-arista merged commit 816079b into main Jan 16, 2025
3 checks passed
@aajith-arista aajith-arista deleted the aajith-no-buildprep branch January 16, 2025 05:51
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.

3 participants