[Rpm-maint] [rpm-software-management/rpm] Make "rpmspec -q --srpm foo.spec" say .src, not .%{arch} (#1116)

Panu Matilainen notifications at github.com
Fri Mar 13 07:54:59 UTC 2020


Having rpmspec default query match with what rpmbuild produces seems like a nice idea, the implementation is what I have some issues with, primarily that the new default is a magic internal behavior that you can't use it in other queries. I think this belongs to a tag extension, RPMTAG_PKGNEVRA or something like that.

Including or otherwise using stuff from build/ in lib/ is not okay, but you don't need access to spec struct for that, look for RPMTAG_NOSOURCE in the header, it should be populated at that point. And if it's not, maybe we can change that.



-- 
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/pull/1116#issuecomment-598595985
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200313/ff811cf9/attachment.html>


More information about the Rpm-maint mailing list