[libsecret: 1/2] secret-enum-types.c/h.template: Fix reproducibility issue
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret: 1/2] secret-enum-types.c/h.template: Fix reproducibility issue
- Date: Wed, 31 Mar 2021 09:45:37 +0000 (UTC)
commit b7d4f8cb3661f3e909666aa8f841ba93f1a01b94
Author: Richard Purdie <richard purdie linuxfoundation org>
Date: Thu Feb 25 22:10:48 2021 +0000
secret-enum-types.c/h.template: Fix reproducibility issue
When full filenames are used in generated sources it makes the resulting
debug packages non-reproducible. Best practise is to use basename instead.
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
libsecret/secret-enum-types.c.template | 4 ++--
libsecret/secret-enum-types.h.template | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libsecret/secret-enum-types.c.template b/libsecret/secret-enum-types.c.template
index 746d4ca..d4d9cdd 100644
--- a/libsecret/secret-enum-types.c.template
+++ b/libsecret/secret-enum-types.c.template
@@ -23,8 +23,8 @@
/*** END file-header ***/
/*** BEGIN file-production ***/
-#include "@filename@"
-/* enumerations from "@filename@" */
+#include "@basename@"
+/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
diff --git a/libsecret/secret-enum-types.h.template b/libsecret/secret-enum-types.h.template
index a8d8307..0cc2b0a 100644
--- a/libsecret/secret-enum-types.h.template
+++ b/libsecret/secret-enum-types.h.template
@@ -27,7 +27,7 @@ G_BEGIN_DECLS
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]