[Rpm-maint] [rpm-software-management/rpm] RFE: BuildRequires generator (#104)

Pavel Raiskup notifications at github.com
Thu Oct 25 10:42:27 UTC 2018


On Saturday, October 20, 2018 2:51:03 PM CEST nim-nim wrote:
> So, with a year of hindsight, I've simplified the requirements to
> 
> 1. run `%prep`
> 2. run BuildRequires computation logic (either as part of prep or in a new
>    `%reqs` section between prep and build)

I'd still prefer the separated section;  (1) it would be clear what
specfile/SRPM uses the dynamic BR computation, and (b) it would make the
interface much more clear -> we could simply print the list of
BuildRequires to stdout (newline separated list of BRs).

Also - to keep things sane - the new section shouldn't change the
%_builddir (mock _should_ execute that part with read-only %_builddir
ideally).

> 3. install the computed BuildRequires in the build root before `%build` if
>    you're running in one of those (ie mock).





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/104#issuecomment-433002932
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181025/ccd32e1b/attachment-0001.html>


More information about the Rpm-maint mailing list