Skip to content

Commit

Permalink
Merge pull request #93 from adfinis/jlf/fix-package-build
Browse files Browse the repository at this point in the history
fix: package build
  • Loading branch information
Jean-Louis Fuchs authored Mar 14, 2024
2 parents 73a909e + a4a2565 commit 93290d7
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 @@ -59,8 +59,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-*.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 93290d7

Please sign in to comment.