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

osc build needs to learn the 2-phase approach of OBS with %generate_buildrequires #1706

Open
DimStar77 opened this issue Feb 13, 2025 · 0 comments
Labels

Comments

@DimStar77
Copy link
Contributor

Feature Request
RPM has, for a while now, known the section %generate_buildrequires, which can run any script/tool and extract BuildDependencies by whatever means it deems fit for purpose.

OBS itself supports this and runs a 2-phase progress on the spec file:

  • Build the spec file, up to the %generate_buildrequires section
  • Extract the output .src.rpm which contains the generated dependencies, and restart the build using the build-dep information provided by this.

It would be nice to build such packages locally - and not only by OBS.

There are a few test packages in https://build.opensuse.org/project/show/home:dimstar:meson

Describe the solution you'd like
OBS implemented support for this in openSUSE/open-build-service@eb087cf (and a few follow ups)

It would be great for osc to learn how to deal with that too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant