[Rpm-maint] [rpm-software-management/rpm] RFC: Aligned payloads and reflinked payload file content (PR #4294)

Daan De Meyer notifications at github.com
Fri Aug 7 11:57:35 UTC 2026


@daandemeyer commented on this pull request.



> +rpmuncompress "${source}" | cmp - "${source}"
+if rpmuncompress --package ${RPMTEST}/data/SPECS/aligntest.spec \
+	> ${RPMTEST}/tmp/aligntest-notpkg.log 2>&1; then
+	exit 1
+fi
+grep -q 'not an rpm package' ${RPMTEST}/tmp/aligntest-notpkg.log
+
+rpmuncompress --package "${source}" > ${RPMTEST}/build/aligntest-converted.rpm

The mix is deliberate: the direct calls byte-compare tool output against the in-process API helper (which also runs on the host), while the runroot cases cover the configured-root path. Conversion doesn't depend on the macros that differ.

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

Message ID: <rpm-software-management/rpm/pull/4294/review/4882619627 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260807/59512f2c/attachment.htm>


More information about the Rpm-maint mailing list