]> git.ipfire.org Git - thirdparty/libvirt.git/commit
spec: Make the build reproducible
authorJiri Denemark <jdenemar@redhat.com>
Wed, 29 Nov 2017 10:08:40 +0000 (11:08 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 29 Nov 2017 16:08:18 +0000 (17:08 +0100)
commit4fe1125b77cb6c6c24798101bd70045189e73f1a
tree06940df71173c873ac1ccc65ee040a2e28ac0935
parentc2dc04c5aaf64bfd043ff3663a350c5ebf1bd83b
spec: Make the build reproducible

If the spec file applies a patch which touches any file in the API XMLs
dependency tree, we need to regenerate the XMLs and consequently
recreate hvsupport.html. The file will contain a time stamp in a comment
which means it will be different every time the package is built. The
commit a54c9622860 which added the time stamp also added support for
SOURCE_DATE_EPOCH environment variable. Let's set it to the time stamp
of the spec file itself to make the build reproducible.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pino Toscano <ptoscano@redhat.com>
libvirt.spec.in