[Rpm-maint] [rpm-software-management/rpm] Override ghost+dir filesizes (#229)

Bernhard M. Wiedemann notifications at github.com
Fri Jun 2 08:05:30 UTC 2017

for directories and ghost files we do not want to
record their size in binary rpms
to make builds more reproducible.

See https://reproducible-builds.org/ for why this matters.

Note: I'm not sure if this is the best/correct way to do this, but at least it made the packages build bit-identical where they did not before.

To test add to %install section:
cd %{buildroot}/some/packaged/dir
for i in $(seq 1 $RANDOM) ; do touch xxx$i ; done
rm xxx*
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Override ghost+dir filesizes

-- File Changes --

    M build/files.c (3)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170602/6bbd060a/attachment.html>

More information about the Rpm-maint mailing list