spec: Make the build reproducible
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 <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>
Reviewed-by: Pino Toscano <7f561d60bf2df812acf624afe597ba9d84c2586d@redhat.com>

olafhering/libvirt,olafhering/libvirt,crobinso/libvirt,jfehlig/libvirt,jfehlig/libvirt,libvirt/libvirt,jardasgit/libvirt,nertpinx/libvirt,libvirt/libvirt,zippy2/libvirt,jardasgit/libvirt,nertpinx/libvirt,olafhering/libvirt,crobinso/libvirt,andreabolognani/libvirt,eskultety/libvirt,eskultety/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,crobinso/libvirt,nertpinx/libvirt,andreabolognani/libvirt,libvirt/libvirt,fabianfreyer/libvirt,zippy2/libvirt,jfehlig/libvirt,jardasgit/libvirt,jardasgit/libvirt,andreabolognani/libvirt,eskultety/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,zippy2/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,eskultety/libvirt,crobinso/libvirt,libvirt/libvirt,olafhering/libvirt,zippy2/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,eskultety/libvirt