[Rpm-maint] [rpm-software-management/rpm] should a spec file tell about --build-in-place? (Discussion #2198)

Ludwig Nussel notifications at github.com
Mon Sep 19 14:47:47 UTC 2022


When sources of a package as well as the spec file are in git ([example](https://github.com/openSUSE/aaa_base/)), the `--build-in-place` option for `rpmbuild` is quite convenient to build the package directly from the checkout directory. How does one know whether a spec file is meant for in-place building though?  Esp when that someone is an automated build system calling `rpmbuild`?
Is it expected that the surrounding build system adds some extra metadata that tells it to use in-place building?
Should spec files have some tag that is understood by `rpmbuild` so it switches to in-place building automatically?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2198
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/repo-discussions/2198 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220919/593755b3/attachment.html>


More information about the Rpm-maint mailing list