From 9b99b2b123ab6e3fcd995958d746968fbb6e59e9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 11 Jan 2025 17:37:39 +0000 Subject: [PATCH] build: Don't overwrite package Signed-off-by: Michael Tremer --- src/pakfire/build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pakfire/build.c b/src/pakfire/build.c index 8c9f9e56b..f037a4662 100644 --- a/src/pakfire/build.c +++ b/src/pakfire/build.c @@ -1237,7 +1237,7 @@ static int pakfire_build_package(struct pakfire_build* build, struct pakfire_par goto ERROR; // Add the package to the repository - r = pakfire_repo_add_archive(build->repo, archive, &pkg); + r = pakfire_repo_add_archive(build->repo, archive, NULL); if (r < 0) goto ERROR; -- 2.47.3