Skip to content

Commit

Permalink
fix: package build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Louis Fuchs committed Mar 14, 2024
1 parent 828bd66 commit 83e5005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/venv-rpm
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 83e5005

Please sign in to comment.