Do not store digests of ghost files
when the files exist during build time.
The hash will never be used for verification anyway.

This helps making packages build more reproducibly.

To test use
```
echo $RANDOM > %{buildroot}/var/cache/ghostfile
%files
%ghost /var/cache/ghostfile
```
and check with `rpm -qp --dump $RPM`
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Do not store digests of ghost files

-- File Changes --

    M build/files.c (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/228.patch
https://github.com/rpm-software-management/rpm/pull/228.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/228
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to