Panu Matilainen a5c457
From 82ae63e2b85073230cc3b6a76499448d01f966ca Mon Sep 17 00:00:00 2001
Panu Matilainen a5c457
Message-Id: <82ae63e2b85073230cc3b6a76499448d01f966ca.1585650704.git.pmatilai@redhat.com>
Panu Matilainen a5c457
From: Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen a5c457
Date: Tue, 31 Mar 2020 13:29:48 +0300
Panu Matilainen a5c457
Subject: [PATCH] Unset SOURCE_DATE_EPOCH for the test-suite
Panu Matilainen a5c457
Panu Matilainen a5c457
Fixes the reproducable build test failing in Fedora rpm builds due to
Panu Matilainen a5c457
%source_date_epoch_from_changelog being set on the outside, which
Panu Matilainen a5c457
leaks the SOURCE_DATE_EPOCH environment into the test-suite and
Panu Matilainen a5c457
changes the expectation.
Panu Matilainen a5c457
---
Panu Matilainen a5c457
 tests/atlocal.in | 2 ++
Panu Matilainen a5c457
 1 file changed, 2 insertions(+)
Panu Matilainen a5c457
Panu Matilainen a5c457
diff --git a/tests/atlocal.in b/tests/atlocal.in
Panu Matilainen a5c457
index 95baca55f..a41752f5e 100644
Panu Matilainen a5c457
--- a/tests/atlocal.in
Panu Matilainen a5c457
+++ b/tests/atlocal.in
Panu Matilainen a5c457
@@ -27,6 +27,8 @@ export HOME
Panu Matilainen a5c457
 TZ=UTC
Panu Matilainen a5c457
 export TZ
Panu Matilainen a5c457
 
Panu Matilainen a5c457
+unset SOURCE_DATE_EPOCH
Panu Matilainen a5c457
+
Panu Matilainen a5c457
 TOPDIR="${RPMTEST}/build"
Panu Matilainen a5c457
 
Panu Matilainen a5c457
 RPM_XFAIL=${RPM_XFAIL-1}
Panu Matilainen a5c457
-- 
Panu Matilainen a5c457
2.25.1
Panu Matilainen a5c457