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

RFE: native support for vpath builds #2985

Open
pmatilai opened this issue Mar 20, 2024 · 0 comments
Open

RFE: native support for vpath builds #2985

pmatilai opened this issue Mar 20, 2024 · 0 comments
Labels
handsfree Packaging automation and convenience RFE

Comments

@pmatilai
Copy link
Member

pmatilai commented Mar 20, 2024

With the new rpm-controlled %builddir from #2078, we now have a safe playground for all sorts of things that didn't have a place to go before. One such item is vpath (aka out of tree) builds, whereas rpm traditionally always assumes build happens inside the source tree. What once was the defacto thing is nowadays frowned upon (for good reasons), and the once fancy-pants vpath build is closer to the norm.

We can never change the default %setup behavior without breaking tonnes of packages, but we should support the vpath build natively as an opt-in: unpack sources as usual but create and change to an empty directory fully outside the source tree for the build. This could be something new Buildsystem: implementations might want to take advantage of, for example.

To go with this, the source-tree could be made read-only after %prep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
handsfree Packaging automation and convenience RFE
Projects
Status: Todo
Development

No branches or pull requests

1 participant