[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:

  https://github.com/rpm-software-management/rpm/pull/229

-- Commit Summary --

  * Override ghost+dir filesizes

-- File Changes --

    M build/files.c (3)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/229.patch
https://github.com/rpm-software-management/rpm/pull/229.diff

-- 
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/229
-------------- 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