rpmSpecGetSection() returns it when passed RPMBUILD_NONE. Guess adding this to 
the API is what you remember even if it has been a while:
`
c38504c4ba build/rpmspec.h (Panu Matilainen 2011-06-17 13:44:39 +0300 78)  * As 
a special case, RPMBUILD_NONE as section returns the entire spec in
c38504c4ba build/rpmspec.h (Panu Matilainen 2011-06-17 13:44:39 +0300 79)  * 
preprocessed (macros expanded etc) format.
`

-- 
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/issues/1241#issuecomment-633919663
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to