[Rpm-maint] [rpm-software-management/rpm] --build-in-place multiple flaws (Issue #3131)

Daan De Meyer notifications at github.com
Wed May 29 08:01:03 UTC 2024


> The more I look/think into this, it seems that --build-in-place should entirely disable %prep and all Source/Patch processing, because .. that's what's it all about. Or, it should take a copy of the original source directory to preserve semi-normal functionality of rpm.

So I haven't really settled on this myself yet. In the systemd case, we have two types of patches: backports from upstream and downstream patches. The backports from upstream are of course useless in the --build-in-place scenario, but the downstream patches are useful to keep sometimes. As an example, systemd has a downstream patch to match the systemd upstream PAM snippet to match the Fedora guidelines. That's one patch that is not disabled when the %upstream macro is defined.

A copy of the original source directory could be rather slow depending on the project unfortunately, and one of the core benefits of --build-in-place is being able to do fast rebuilds.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3131#issuecomment-2136786731
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3131/2136786731 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240529/8f812eec/attachment.html>


More information about the Rpm-maint mailing list