[Rpm-maint] [rpm-software-management/rpm] Sources and patches in src.rpm are stored in reverse order (Issue #3014)

Panu Matilainen notifications at github.com
Wed Apr 3 06:57:28 UTC 2024


Sources and patches are stored in a singly linked list with front insertion in the spec parser, and this implementation detail leaks into packages and rpmspec queries: PATCH and SOURCE tags are in reverse order.

Technically changing the order *could* break somebody's carefully crafted script but few people even know they *can* retrieve the patches and sources from a header/rpmspec query.

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

Message ID: <rpm-software-management/rpm/issues/3014 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240402/78fc542d/attachment.html>


More information about the Rpm-maint mailing list