[Rpm-maint] [rpm-software-management/rpm] Dynamic Spec generation (#1485)

Panu Matilainen notifications at github.com
Tue Nov 8 14:15:57 UTC 2022


@pmatilai commented on this pull request.



> +	    if (checkForEncoding(pkg->header, 0) != RPMRC_OK) {
+		badenc = 1;
+	    }
+	}
+	if (badenc)
+	    goto errxit;
+    }
+
+    closeSpec(spec);
+
+exit:
+    return spec;
+
+errxit:
+    if (!secondary)
+	rpmSpecFree(spec);

Hmm, the API shouldn't get much in the way as parseSpec() and friends is all internal affairs.
I'm too cross-eyed to look at this today but glad you found a way forward, 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1485#discussion_r1016688097
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1485/review/1172205026 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221108/873d0944/attachment-0001.html>


More information about the Rpm-maint mailing list