Skip to content

Commit

Permalink
Merge pull request #92 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 39dc8e5 + 18b817f commit 73a909e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/venv-rpm
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,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)


Expand Down

0 comments on commit 73a909e

Please sign in to comment.