Skip to content

Commit

Permalink
Add support for retrieving %generate_buildrequires section from the spec
Browse files Browse the repository at this point in the history
Should've been in commit 58dcfdd
  • Loading branch information
pmatilai committed Nov 21, 2023
1 parent 949f281 commit c359a5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/spec.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,8 @@ const char * rpmSpecGetSection(rpmSpec spec, int section)
case RPMBUILD_NONE: return getStringBuf(spec->parsed);
case RPMBUILD_PREP: return getStringBuf(spec->prep);
case RPMBUILD_CONF: return getStringBuf(spec->conf);
case RPMBUILD_BUILDREQUIRES:
return getStringBuf(spec->buildrequires);
case RPMBUILD_BUILD: return getStringBuf(spec->build);
case RPMBUILD_INSTALL: return getStringBuf(spec->install);
case RPMBUILD_CHECK: return getStringBuf(spec->check);
Expand Down

0 comments on commit c359a5c

Please sign in to comment.