diff --git a/libreoffice.changes b/libreoffice.changes
index abb92b7..1593ed5 100644
--- a/libreoffice.changes
+++ b/libreoffice.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Mon May  6 08:54:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
+
+- Fake the epoch to make zip files reproducible
+
 -------------------------------------------------------------------
 Mon Apr 15 09:14:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
 
diff --git a/libreoffice.spec b/libreoffice.spec
index b964205..fc0c0cc 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -68,6 +68,7 @@ Source5:        %{tarball_url}/libreoffice-translations-%{version}.tar.xz.asc
 Source6:        SUSE.soc
 Source98:       %{name}.keyring
 Source99:       %{name}-rpmlintrc
+Source100:      %{name}.changes
 # prebuilt extensions
 Source402:      %{external_url}/b7cae45ad2c23551fd6ccb8ae2c1f59e-numbertext_%{numbertext_version}.oxt
 # used extensions sources
@@ -1010,6 +1011,9 @@ export CC=gcc-7
 export CXX=g++-7
 %endif
 
+# Fake the epoch stuff in generated zip files
+export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
+
 # Colada does not have .pc file and configure creator was really lazy
 export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser'
 export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser'