From 83e5005a46b91af7194c62877616b8a59324e5b9 Mon Sep 17 00:00:00 2001 From: Jean-Louis Fuchs Date: Thu, 14 Mar 2024 11:30:29 +0100 Subject: [PATCH] fix: package build --- tools/venv-rpm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/venv-rpm b/tools/venv-rpm index 0760a34..c703613 100755 --- a/tools/venv-rpm +++ b/tools/venv-rpm @@ -64,8 +64,8 @@ def main(): f.write(SPEC.format(revision=build_id, date=date)) shutil.rmtree("/root/rpmbuild", ignore_errors=True) run(["rpmbuild", "--bb", spec], check=True) - rpms = Path("/root/rpmbuild/RPMS/noarch") - file = Path(list(rpms.glob("python3-pyaptly-*.noarch.rpm"))[0]) + rpms = Path("/root/rpmbuild/RPMS/") + file = Path(list(rpms.glob("*/python3-pyaptly-*.rpm"))[0]) shutil.copy2(file, dist)