[Rpm-maint] [rpm-software-management/rpm] No build directives in generated spec parts (PR #2917)
Florian Festi
notifications at github.com
Thu Feb 29 08:08:11 UTC 2024
@ffesti commented on this pull request.
> @@ -1109,6 +1123,25 @@ static rpmRC parseSpecSection(rpmSpec *specptr, int secondary)
goto errxit;
}
+ if (stage == PARSE_GENERATED) {
+ switch (parsePart) {
+ case PART_PREP:
+ case PART_BUILD:
+ case PART_INSTALL:
+ case PART_CHECK:
+ case PART_CLEAN: /* ???? */
+ case PART_BUILDARCHITECTURES:
+ case PART_PATCHLIST:
+ case PART_SOURCELIST:
+ case PART_BUILDREQUIRES:
+ case PART_CONF:
Yes, it was. But I also was confused when seeing it and at first thought the rebase went wrong.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2917#discussion_r1507168561
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2917/review/1908215215 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240229/20b29bd2/attachment.html>
More information about the Rpm-maint
mailing list