From 18b817fe34c77c5c80118ed3d507671bdcd4dafe 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/venv-rpm b/tools/venv-rpm index 0760a34..ea92934 100755 --- a/tools/venv-rpm +++ b/tools/venv-rpm @@ -65,7 +65,7 @@ def main(): 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]) + file = Path(list(rpms.glob("python3-pyaptly-*.rpm"))[0]) shutil.copy2(file, dist)