From b7d4f8cb3661f3e909666aa8f841ba93f1a01b94 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 25 Feb 2021 22:10:48 +0000 Subject: [PATCH] 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 --- 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 ***/