[Rpm-maint] [rpm-software-management/rpm] Move checks and package initialization after build (PR #2646)
Panu Matilainen
notifications at github.com
Tue Oct 10 12:42:18 UTC 2023
@pmatilai commented on this pull request.
> + rpmRC rc = RPMRC_FAIL;
+
+ /* XXX Skip valid arch check if not building binary package */
+ if (!(spec->flags & RPMSPEC_ANYARCH) && checkForValidArchitectures(spec)) {
+ goto exit;
+ }
+
+ fillOutMainPackage(spec->packages->header);
+ /* Define group tag to something when group is undefined in main package*/
+ if (!headerIsEntry(spec->packages->header, RPMTAG_GROUP)) {
+ headerPutString(spec->packages->header, RPMTAG_GROUP, "Unspecified");
+ }
+
+ char *platform = rpmExpand("%{_target_platform}", NULL);
+ char *os = rpmExpand("%{_target_os}", NULL);
+ char *optflags = rpmExpand("%{optflags}", NULL);
Okay, rebase to get the warnings -> compile fail on CI.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2646#discussion_r1352405865
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2646/review/1667550789 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231010/e3961e5b/attachment.html>
More information about the Rpm-maint
mailing list