[Rpm-maint] [rpm-software-management/rpm] Dynamic Build Dependencies (#593)

Florian Festi notifications at github.com
Tue Nov 6 11:46:13 UTC 2018


As discussed in #104 this allows adding a %generate_buildrequires section to spec files. The sections stdout is read in as BuildRequires and are checked. If some are missing the build is aborted.

This is still in a prove of concept state. The dependencies added to the SRPM for this features need to be thought through more thoroughly. Stopping the build for missing dependencies also deserves its own return code of rpmbuild.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/593

-- Commit Summary --

  * BuildRequires POC
  * Rename parseBuildInstallClean() to something more generic
  * Dependencies for DynamicBuildRequires
  * Rename section to %generate_buildrequires

-- File Changes --

    M build/Makefile.am (2)
    M build/build.c (95)
    M build/pack.c (4)
    R build/parseSimpleScript.c (20)
    M build/parseSpec.c (12)
    M build/rpmbuild.h (1)
    M build/rpmbuild_internal.h (8)
    M rpmbuild.c (1)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/593.patch
https://github.com/rpm-software-management/rpm/pull/593.diff

-- 
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/pull/593
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181106/d59b3f22/attachment.html>


More information about the Rpm-maint mailing list