From d744c165716a4b8eea3cce87f59e7fd714754c95 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 8 Jun 2022 09:54:13 +0200 Subject: [PATCH] reports.c: add epoch to pkg_header of build-*.sh files --- src/reports.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/reports.c b/src/reports.c index d7c10dc..0c750ad 100644 --- a/src/reports.c +++ b/src/reports.c @@ -1954,7 +1954,7 @@ int print_datatables(struct configTag *ct, int arch) { while (currheadersourcelist != NULL) { currchild = currheadersourcelist->firstchild[arch]; if (currchild) { - fprintf(fbsh,"[ \"$pkg\" = \"%s\" ] && { pkg_header=(%s %s %s %s \"%s\" \"%s\" %ld %ld %d %s); ", + fprintf(fbsh,"[ \"$pkg\" = \"%s\" ] && { pkg_header=(%s %s %s %s \"%s\" \"%s\" %ld %ld %d %s %ld); ", currheadersourcelist->name, currheadersourcelist->name, currchild->arch, @@ -1965,7 +1965,8 @@ int print_datatables(struct configTag *ct, int arch) { currheadersourcelist->size, currheadersourcelist->buildtime, currheadersourcelist->altrepository, - ct->repository[currheadersourcelist->altrepository]->tag); + ct->repository[currheadersourcelist->altrepository]->tag, + currheadersourcelist->epoch); fprintf(fb,"%s:", currheadersourcelist->name); fprintf(fbsh,"pkg_builds=(");