From a266453031fbeb3094717bd3725f9d109e7d6b14 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Tue, 22 Oct 2019 11:34:33 +0200 Subject: [PATCH] [FIX] packaging: fix rpm repository generation X-original-commit: 25d6e9a6b79bbc2cb935cdc6c86d1f226732599a --- setup/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/package.py b/setup/package.py index 9bdaf29912679..5f4f8e5375d38 100755 --- a/setup/package.py +++ b/setup/package.py @@ -155,7 +155,7 @@ def gen_rpm_repo(args, file_name): shutil.copy(file_name, temp_path) run_cmd(['createrepo', temp_path]).check_returncode() # creates a repodata folder in temp_path - shutil.copytree(os.path.join(temp_path, "repodata"), os.path.join(args.pub, 'rpm')) + shutil.copytree(os.path.join(temp_path, "repodata"), os.path.join(args.pub, 'rpm', 'repodata')) # Remove temp directory shutil.rmtree(temp_path)