From 2eecb720e2e75b70d2ae0a3536b14c05e6920a14a396a40d610a86c00106c586 Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Wed, 1 Jul 2020 06:16:38 +0000 Subject: [PATCH] Accepting request 816984 from home:bmwiedemann:branches:Base:System - remove unreproducible signature file to make package build reproducible I think, this is just an example file, but would be interested in feedback from packager. file is created during build by ["/usr/bin/certtool", "--p7-detached-sign", "--p7-time", "--load-privkey", "data/tests/test-privkey.pem", "--load-certificate", "data/tests/pki/test.pem", "--infile", "../data/tests/colorhug/firmware.bin", "--outfile", "data/tests/colorhug/firmware.bin.p7c"] OBS-URL: https://build.opensuse.org/request/show/816984 OBS-URL: https://build.opensuse.org/package/show/Base:System/libjcat?expand=0&rev=7 --- libjcat.changes | 5 +++++ libjcat.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/libjcat.changes b/libjcat.changes index fca87a8..fec039a 100644 --- a/libjcat.changes +++ b/libjcat.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 25 09:16:15 UTC 2020 - Bernhard Wiedemann + +- remove unreproducible signature file to make package build reproducible + ------------------------------------------------------------------- Tue Jun 09 15:08:08 UTC 2020 - dimstar@opensuse.org diff --git a/libjcat.spec b/libjcat.spec index bc3710f..3b8dad9 100644 --- a/libjcat.spec +++ b/libjcat.spec @@ -93,6 +93,8 @@ Files for development with %{name}. %install %meson_install +# remove unreproducible signature file to make package build reproducible +rm -f %{buildroot}%{_libexecdir}/installed-tests/libjcat/colorhug/firmware.bin.p7c %post -n %{name}%{sover} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig